The "spirit" lives forever, being a spirit Energy, it is Eternal by Intrinsic constitution
Spirit ( Antaraatma/ conscience, spirit eternal energy) , Soul (aatmaa/ thoughts, emotions, mechanism to Choose) and Body ( shareer/physicality) are separate Entities; it is the Spirit who Enlivens ( a being who has passed away, cannot think nor involve in deeds).
Based upon Trueness, the respective spirit gets a resurrected physicality, or receives a glorified adorning in Heaven , or the pure stay as Companion spirits within loved , or stays in Realm of permanent absence ( due to conscious Choice of violence, untruth, abuse) of God
Consciousness is Awareness of self and Existence; the Truer have a Purer consciousness.