https://suttacentral.net/an4.123/en/sujato
“Mendicants, these four people are found in the world. What four? Firstly, a mendicant, quite secluded from sensual pleasures, secluded from unskillful qualities, enters and remains in the first absorption, which has the rapture and bliss born of seclusion, while placing the mind and keeping it connected. They enjoy it and like it and find it satisfying. If they abide in that, are committed to it, and meditate on it often without losing it, when they die they’re reborn in the company of the gods of Brahmā’s Group. The lifespan of the gods of Brahma’s Group is one eon. An ordinary person stays there until the lifespan of those gods is spent, then they go to hell or the animal realm or the ghost realm. But a disciple of the Buddha stays there until the lifespan of those gods is spent, then they’re extinguished in that very life. This is the difference between an educated noble disciple and an uneducated ordinary person, that is, when there is a place of rebirth.
a disciple gets nibbanae'd when the lifespan of gods in that world end. While ordinary person goes to hell, animal realm or ghost realm.Bhagavato pana sāvako tattha yāvatāyukaṃ ṭhatvā yāvatakaṃ tesaṃ devānaṃ āyuppamāṇaṃ taṃ sabbaṃ khepetvā tasmiṃyeva bhave parinibbāyati.
A mendicant dies being committed to the jhana and then reborns in a world where if he is an ariya(noble person) he gets extinguished(nibbana'ed) while ordinary person goes back(rebirths) to lower worlds.
So it seem in human realm when you get to jhana and cultivate it you die(not as flesh body) and reborn to a world and if you are dsciple then you won't come back.
-----
in case of arupa, it is ayatanas(dimensions?) not worlds.
ākāsānañcāyatanaṃ
viññāṇañcāyatanaṃ
ākiñcaññāyatanaṃ
nevasaññānāsaññāyatanaṃ
idk maybe you could call nibbana a death.