If you are docked and logged off in a Citadel when it explodes or is unanchored, you appear at a random place somewhere in that system in your ship the next time you log in. This is how it works in k space, but I don’t see why it would be any different in a wormhole.
Ah yes, that it true. Still, I am almost certain that asset safety or lack of it doesn’t apply to the current ship you are in. You always spawn randomly in the system when you next log in if you were docked in a Upwell structure that explodes or is unanchored.
Would be nice for someone who has experienced this in wormhole space to chime in though.