The ship should remain while you are logged out. Which means that if your outside the safe zone your ship can be taken by other players.
At this stage, if the ship isn't there when you log back in, it's about 50/50 another player moved your ship, or a bug deleted it.