When a person dies they go to hades, the place of timeless unawares or some call it soul sleep. Or I just call it the place of rest before being resurrected. If you are saved you go to the good side called Abraham's bosom where Lazarus went and the good thief who met Jesus that day in Paradise below (in contrast to Paradise above).

If you are unsaved you go to the bad side which is where the Rich Man went. The saved are resurrect during the consummation of this age, that is, during the last seven years, some at the start of the Tribulation and most at the start of the 7th trumpet before the bowls are poured out of God's wrath. The unsaved are resurrected after the 1000 years. And those saved during the 1000 years will be resurrected at the end of the 1000 years.

Some say the saved during the 1000 years are raptured individually like the two witnesses and martyrs 3.5 days after they go to rest (and gleaning raptures during the 7th trumpet period). I think this is quite possible, because overcomer believers during the 1000 years would return to reign immediately during the 1000 years, while those who lose that reward will go to outer darkness like those who lost the reward during our age of grace.