Question: can a body decompose in a vacuum?
Answer: If you do die in space, your body will not decompose in the normal way, since there is no oxygen. If you were near a source of heat, your body would mummify; if you were not, it would freeze. If your body was sealed in a space suit, it would decompose, but only for as long as the oxygen lasted.