agnidhro rajatrptah kamanam apsarasam evanudinam adhi-manyamanas tasyah salokatam srutibhir avarundha yatra pitaro madayante.
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada:
After Purvacitti’s departure, King Agnidhra, his lusty desires not at all satisfied, always thought of her. Therefore, in accordance with the Vedic injunctions, the King, after his death, was promoted to the same planet as his celestial wife. That planet, which is called Pitrloka, is where the pitas, the forefathers, live in great delight.
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada:
If one always thinks of something, he certainly gets a related body after death. Maharaja Agnidhra was always thinking of Pitrloka, the place where his wife had returned. Therefore after his death he achieved that same planet, probably to live with her again. Bhagavad-gita also says:
yam yam vapi smaran bhavam
tyajaty ante kalevaram
tam tam evaiti kaunteya
“Whatever state of being one remembers when he quits his body, that state he will attain without fail.” (Bg. 8.6) We can naturally conclude that if we always think of Krsna or become fully Krsna conscious, we can be promoted to the planet of Goloka Vrndavana, where Krsna eternally lives.