Though the body ceases to exist, the remnants of actions performed, Desired do not cease even after death.
The thoughts remain as energy once created can not be destroyed and Thoughts and Thought processes are Energy.
They have to be expended.
Till such time the Subtle body remains.
The Subtle Body is called as Sukshma Sareera.