Anyone, even a person in an impure state, who absorbs his mind in Lord Krishna for just a moment at the time of death burns up all traces of sinful reactions and immediately attains the supreme transcendental destination in a pure, spiritual form as effulgent as the sun.
Godhead is light. Nescience is darkness. Where there is Godhead there is no nescience.
Srimad Bhagavatam 7.8.24,
Lord Shambhu (Shiva) the greatest of Vaishnavas.
Srimad Bhagavatam 12.13.16
Birth and other transformations are undergone by the body but never by the self, just as change occurs for the moon’s phases but never for the moon, though the new-moon day may be called the moon’s “death.”