Srimad-Bhagavatam: Canto 4 - Chapter 1 - Verse 27
दग्धाशयो मुक्तसमस्ततद्गुणोनैवात्मनो बहिरन्तर्विचष्टे ।परात्मनोर्यद्वयवधानं पुरस्तात्स्वप्ने यथा पुरुषस्तद्विनाशे ॥ २७ ॥
dagdhāśayo mukta-samasta-tad-guṇonaivātmano bahir antar vicaṣṭeparātmanor yad-vyavadhānaṁ purastātsvapne yathā puruṣas tad-vināśe
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.
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: 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.