They could lay it out in the galley.
So what you are saying is that, in the event of an emergency, everyone has to scramble over a dead body rolling around in front of the rear exit door?
I think everyone is right in wondering if there's not a better way but, that's the way it is right now because airplane manufacturers have not planned for dead body storage.