ohhh a subject i know too well,
yes there are certain provisions for different religions..in fact buddhist approach death as positive as possible,they feel the mind resides in the body for three days after death,and they feel it important that the body be placed in a quite area with minimal movement..this being the reason not to cremate any earlier,cremation being what is prefered.
hinduism
a person will not be alone if possible at the time of death as families prepare for the death,they sprinkle holy water over the body and place what is known as a tulsi leaf on the tongue,jewellary and sacred beads are not to be removed at all..same like they see a post mortem as disrespectfull.although with it being a law,it does have to be done if nesseassary despite the religious aspect.
islam
there are two main sects,sunnis and shias,with many other subsections within these.prior to death the person is to facemecca(which is south east in britain) and prayors will be recited from the quran..and families at times only handle the body wearing gloves.but they hace strict guidlines i other aspects
eyes must be closed
arms should be straight down to the sides of the body
the two big toes have to be tied together and a bandage has to be tied round the chin and head,to close the mouth to avois having it stitched closed,and again the face has to be to the right facing mecca,some are opposed to organ donation too.
the same as above for judaism,barr the person will not be left alone at all untill the funeral,which is done as soon as available(often immediately)
but having given you aliitle more insight into different religions procedures/customs..does this really alter how and when a person transists to spirit,as all of these aspects are really in connection with the physical body left behind anyhow