Exactly - though you’d probably want to attach a small thruster to the corpse to send it on a course into the sun. (It won’t ever achieve solar escape velocity anyway, and having frozen corpses cluttering up the solar system is a bit disturbing.)
I dunno... A cloud of freeze-dried cadavers orbiting our system might discourage hostile aliens from messing with us.