The line between life and death is not so sudden. No matter what you see on tv. People are dying while they are living!
Being with loved ones as they go through illness, or emergencies, is imperative in my experience. At home, Never let strangers decide, when one of your own is gone, unless all, including the possibly dying one, are in agreement that it is lights out time.
Seriously, there are reasons the ancients had lengthy traditions for their dead.
A good read on the processes of decomposition, if life and health interest you: