We all have to leave this body one day. In fact, sooner than later as we often tend to think. As per Ayurveda sastra and many other sastras, no death comes un-announced. There are sure signs of death known as "marana suchakas" or "marana nimittas" that give us early indication of the impending death.
Imagine, if we can foretell our own death and also guide others! "Ante Narayana Smriti" - the success of life is to chant the holy name at the end of life. If we are armed with this knowledge, it then, as per Aittereya Aranyaka Vedic text, one should prepare consciously known as "paraloka sadhana karma".
Time is very precious and we have limited of that!