If a person dies in space, the body does not decompose because there is no oxygen. If the death occurs near a source of heat, the body will mummify, and otherwise it will freeze. If the person dies inside a space suit, the body will decompose because of the oxygen it contains.
