There innocence is judged just by the weight of there heart, which is why that is the only organ left after mummification. If there heart is correctly balanced, the dead will be provided with a new body and allowed entry to the Field of Rushes and provided eternal sustenance. If the heart is heavy with guilt of breaking one or more of the thirteen others, you are given a second death, devoured by the monster Ament. There is a good depiction of this on page 29, figure 1.15*2 (Humanistic Tradition book.) For the pharaoh, who were considered gods, death did not consists of going through that prosses, or rituals. They were automatically provided with eternal sustenance in the Field of Rushes. .
There were three elements as well that were nesscesary for the afterlife. The ba, which is the breath and soul that acted as a conscience, ka, who is a gaurdian spirit that would servive even if the corps had parrished, and akh, a goast of illuminated spirit served to conduct spirtual combat whether it be good or evil. .
.
Mesopotamia's beliefs regarding death are far different than those of the Egyptians. The Mesopotamia thought of the underworld in a more Mythological sort of way. They worshiped a very large number of gods and goddesses, which was possibly in the thousands, who were portrayed as these super-humans. The rest of humanity's sole purpose was to serve these gods. In there myths they wrote about three separate relmhs. The heavens, reserved stricktly for the gods, the middle land, where all mortals live, and then the underworld, inhabited by all the ghost of the dead. The outlook they had on death was morbid and grim, with no hope of immortality for any one on earth. The only way to "live on after death', in a since, was to do great things for other people to be remembered.
The Mesopotamian's did little as far as preparing the body after death other than dressing them in nice cloths and getting a casket for them assuming they had enough money.