This is different depending on the issue causing the death. It can happen in a few seconds as in a sudden car accident or they can go downhill over a few weeks or months if dying of something like cancer.