Some Soviet space stations reportedly had anti-aircraft cannons installed. Could such a cannon hit the firing space station accidentally on a subsequent orbit? The muzzle velocity of the cannon is under 700 m/s, significantly slower than orbital velocity so the projectiles should have similar orbits to the station.
The space station could shoot itself, but it's extremely unlikely to happen by accident.
Assuming your space station is in a circular orbit you can calculate it's position in polar co-ordinates as a function of time $(r(t), \theta(t))$ very easily since $r$ is constant and $\theta = 2\pi t/\tau$ where $\tau$ is the orbital period. When you fire the cannon the shell is in a different orbit, and specifically it's in an elliptical orbit $(r'(t), \theta'(t))$. For the station to shoot itself the two orbits must intersect, i.e. at some time $t$ you have simultaneously:
$$r(t) = r'(t)$$ $$\theta(t) = \theta'(t)$$
The problem is that for a generic elliptical orbit the expressions for $r'(t)$ and $\theta'(t)$ are not at all simple so there is no easy way to solve the above simultaneous equations and work out at what time, if ever, they intersect. There's certainly no obvious reason to suppose they should intersect.
You can see that it is possible for the spaceship to shoot itself. If you fire the cannon radially outwards the shell will fall behind the space station. If you fire in the direction of motion the shell will move ahead of the space station. So there must be some angle in between where the shell hits the space station. However this will be the exception rather than the rule.
I'm aware this isn't a great answer since I can't solve the equations of motion and give you a rigorous answer. If anyone else can do this I'd be very interested to see the calculation.
First, let's establish the context of Newtonian mechanics, an ideal vacuum, and the mass of the Earth concentrated at a point to eliminate uncertainties due to varying drag, "mascons", etc. Let's also stipulate that there are no other sources of orbital perturbation including the gravitational attraction between the station and the projectile.
Now, it is the case that the combination of position and velocity at a particular time uniquely determines the orbit. Assume the ISS is in a perfectly circular orbit and fires a projectile (assuming the mass of the ISS is so much greater than the projectile that the ISS orbit is essentially unchanged), the projectile, having a different velocity at the "instant" it is fired, necessarily is in a different, elliptical orbit.
However, it is also true that this orbit is closed and so both the ISS and the projectile will periodically return to that point in space (with the same velocities as at the time of firing). The question is, will they arrive there at the same time?
I think it is the case that the answer is yes after some whole number of revolutions.