This.IIRC your active ship and location is transferred to the rescue ship 1Mm from the station, but any inactive assets are still aboard the station, and can be transferred out without issue.
If you are onboard the rescue ship when the station is no longer damaged, you are transferred to the relevant station, as are any inactive assets on the rescue ship.
tl;dr nothing of consequence happens. Like Fact' said, just log on and play.
This tooYou could try playing the game, then you'd know