SB 4.22.27

dagdhāśayo mukta-samasta-tad-guṇo
 naivātmano bahir antar vicaṣṭe
parātmanor yad-vyavadhānaṁ purastāt
 svapne yathā puruṣas tad-vināśe
Synonyms: 
dagdha-āśayaḥ — all material desires being burned; mukta — liberated; samasta — all; tat-guṇaḥ — qualities in connection with matter; na — not; eva — certainly; ātmanaḥ — the soul or the Supersoul; bahiḥ — external; antaḥ — internal; vicaṣṭe — acting; para-ātmanoḥ — of the Supersoul; yat — that; vyavadhānam — difference; purastāt — as it was in the beginning; svapne — in dream; yathā — as; puruṣaḥ — a person; tat — that; vināśe — being finished.
Translation: 
When a person becomes devoid of all material desires and liberated from all material qualities, he transcends distinctions between actions executed externally and internally. At that time the difference between the soul and the Supersoul, which was existing before self-realization, is annihilated. When a dream is over, there is no longer a distinction between the dream and the dreamer.
Purport: 

As described by Śrīla Rūpa Gosvāmī (anyābhilāṣitā-śūnyam), one must be devoid of all material desires. When a person becomes devoid of all material desires, there is no longer need for speculative knowledge or fruitive activities. In that condition it is to be understood that one is free from the material body. The example is already given above — a coconut which is dry is loosened from its outward husk. This is the stage of liberation. As said in Śrīmad-Bhāgavatam (2.10.6), mukti (liberation) means svarūpeṇa vyavasthitiḥ, being situated in one’s own constitutional position. All material desires are present as long as one is in the bodily concept of life, but when one realizes that he is an eternal servant of Kṛṣṇa, his desires are no longer material. A devotee acts in this consciousness. In other words, when material desires in connection with the body are finished, one is actually liberated.

When one is liberated from the material qualities, he does not do anything for his personal sense gratification. At that time all activities performed by him are absolute. In the conditioned state there are two kinds of activities: one acts on behalf of the body, and at the same time he acts to become liberated. The devotee, when he is completely free from all material desires or all material qualities, transcends the duality of action for the body and soul. Then the bodily concept of life is completely over. Therefore Śrīla Rūpa Gosvāmī says:

īhā yasya harer dāsye
 karmaṇā manasā girā
nikhilāsv apy avasthāsu
 jīvan-muktaḥ sa ucyate

When one is completely fixed in the service of the Lord, he is a liberated person in any condition of life. He is called jīvan-muktaḥ, liberated even within this body. In such a liberated condition, there is no distinction between actions for sense gratification and actions for liberation. When one is liberated from the desires of sense gratification, he has no longer to suffer the reactions of lamentation or illusion. Activities performed by the karmīs and jñānīs are subject to lamentation and illusion, but a self-realized liberated person acting only for the Supreme Personality of Godhead experiences none. This is the stage of oneness, or merging into the existence of the Supreme Personality of Godhead. This means that the individual soul, while keeping his individuality, no longer has separate interests. He is fully in the service of the Lord, and he has nothing to do for his personal sense gratification; therefore he sees only the Supreme Personality of Godhead and not himself. His personal interest completely perishes. When a person comes out of a dream, the dream vanishes. While dreaming, a person may consider himself a king and see the royal paraphernalia, his soldiers, etc., but when the dream is over, he does not see anything beyond himself. Similarly, a liberated person understands that he is part and parcel of the Supreme Lord acting in accordance with the desire of the Supreme Lord, and as such there is no distinction between himself and the Supreme Lord, although both of them retain their individuality (nityo nityānāṁ cetanaś cetanānām). This is the perfect conception of oneness in relation to the Supersoul and the soul.