Revelation shows us the events at the end..
Revelation 20:1-15
1 And I saw an angel come down from heaven, having the key of the bottomless pit and a great chain in his hand.
2 And he laid hold on the dragon, that old serpent, which is the Devil, and Satan, and bound him a thousand years,
3 And cast him into the bottomless pit, and shut him up, and set a seal upon him, that he should deceive the nations no more, till the thousand years should be fulfilled: and after that he must be loosed a little season.
4 And I saw thrones, and they sat upon them, and judgment was given unto them: and I saw the souls of them that were beheaded for the witness of Jesus, and for the word of God, and which had not worshipped the beast, neither his image, neither had received his mark upon their foreheads, or in their hands; and they lived and reigned with Christ a thousand years.
5 But the rest of the dead lived not again until the thousand years were finished. This is the first resurrection.
6 Blessed and holy is he that hath part in the first resurrection: on such the second death hath no power, but they shall be priests of God and of Christ, and shall reign with him a thousand years.
7 And when the thousand years are expired, Satan shall be loosed out of his prison,
8 And shall go out to deceive the nations which are in the four quarters of the earth, Gog, and Magog, to gather them together to battle: the number of whom is as the sand of the sea.
9 And they went up on the breadth of the earth, and compassed the camp of the saints about, and the beloved city: and fire came down from God out of heaven, and devoured them.
10 And the devil that deceived them was cast into the lake of fire and brimstone, where the beast and the false prophet are, and shall be tormented day and night for ever and ever.
11 And I saw a great white throne, and him that sat on it, from whose face the earth and the heaven fled away; and there was found no place for them.
12 And I saw the dead, small and great, stand before God; and the books were opened: and another book was opened, which is the book of life: and the dead were judged out of those things which were written in the books, according to their works.
13 And the sea gave up the dead which were in it; and death and hell delivered up the dead which were in them: and they were judged every man according to their works.
14 And death and hell were cast into the lake of fire. This is the second death.
15 And whosoever was not found written in the book of life was cast into the lake of fire.
Now here's a breakdown of each verse in Revelation 20..
vs. 1 - An angel descends from heaven with a key and a chain.
vs. 2 - He binds Satan for 1000 years.
vs. 3 - During the 1000 years Satan cannot deceive the nations any more.
vs. 4 - Martyrs are resurrected to reign with Jesus Christ for 1000 years.
vs. 5a - The rest of the dead will be raised at the end of the 1000 years.
vs. 6 - Those in the first resurrection will reign with Jesus for 1000 years.
vs. 7 - Satan will be loosed at the end of the 1000 years.
vs. 8 ; After the rest of the dead are raised, Satan deceives them again. There will be billions - like the sand of the sea. They are called Gog and Magog. Satan gathers them for a final battle.
vs. 9 - Satan and this host surround God's City. Fire comes down and devours them.
vs. 10 - Satan, the Beast, and the False Prophet end up in this lake of fire.
vs. 11 - Before this fire falls, a final judgment occurs.
vs. 12 - All the resurrected lost are judged.
vs. 13 - Another description of the resurrected lost being judged.
vs. 14 - Death and Hell are cast into the lake of fire, which is the second death.
vs. 15 - All the resurrected lost are cast into the lake of fire.
So what happens in the events that are shown to us here. We see that there is a good resurrection which is called the first resurrection at the beginning of the 1000 years in verses 4-6, whereas the rest of the dead are resurrected at the end of the 1000 years. Satan is bound during the 1000 years as we see in verse 3, but is loosed when the thousand years are done as we see in verse 7, and notice this is also when the rest of the dead are raised, see verse 5. Now with these dead which are not from the first resurrection, so they are the lost going to damnation, Satan gathers them for a final battle against God's City as we see in verse 8. A final judgment occurs, and then the lost are punished in the lake of fire, So who are the ones that will not see the first resurrection but come up after the 1000 years at the second one.
Christ clearly spoke of two resurrections when He said, "Marvel not at this: for the hour is coming, in the which all that are in their graves shall hear his voice, And shall come forth; they that have done good, unto the resurrection of life; and they that have done evil unto the resurrection of damnation"
John 5:29.
The apostle Paul also spoke of these two resurrections when he said, "there shall be a resurrection of the dead, both of the just and the unjust" in
Acts 24:15. So both Jesus Christ and Paul spoke of two resurrections, the first being the resurrection of life for the just, and the second being the resurrection of damnation for the unjust. Now Christ comes in the second coming to take the saints to heaven , but Christ does not step on earth, the saints are lifted into to the air from their graves.
1 Thessalonians 4:16-17
16 For the Lord himself shall descend from heaven with a shout, with the voice of the archangel, and with the trump of God: and the dead in Christ shall rise first:
17 Then we which are alive and remain shall be caught up together with them in the clouds, to meet the Lord in the air: and so shall we ever be with the Lord.
Both the Old and New Testaments are very clear on this issue.
1 Corinthians 15:16
For if the dead rise not, then is not Christ raised:
Isaiah 26:19
Thy dead men shall live, together with my dead body shall they arise. Awake and sing, ye that dwell in dust: for thy dew is as the dew of herbs, and the earth shall cast out the dead.
Life will be restored to those saints who have died in the resurrection on the last day and they with those saints which are alive shall be taken up with the Lord.