Question: would your body decompose on the moon?
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.