And one last thing. BOTH of these verses are the FIRST RESURRECTION. Verse 3 is the resurrection of the Old Testament saints and verse 5 is the resurrection of the New Testament believers.
Rev 20: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.
Rev 20:5 But the rest of the dead lived not again until the thousand years were finished. This is the first resurrection.
There is "One" future time of resurrection for all that have lived, both righteous and wicked Daniel 12:1-2, John 5:28-29
This takes place immediately after the tribulation, at the second coming of Jesus Christ, Matthew 24:29-31
Daniel below clearly shows this last day resurrection, at the time of tribulation, the books are open, righteous and wicked.
Last Day Resurrection Of All!
Daniel 12:1-2KJV
12 And at that time shall Michael stand up, the great prince which standeth for the children of thy people: and there shall be a time of trouble, such as never was since there was a nation even to that same time: and at that time thy people shall be delivered, every one that shall be found written in the book.
2 And many of them that sleep in the dust of the earth shall awake, some to everlasting life, and some to shame and everlasting contempt.
Last Day Resurrection Of All!
John 5:28-29KJV
28 Marvel not at this: for the hour is coming, in the which all that are in the graves shall hear his voice,
29 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.
Last Day Resurrection Of All!
Matthew 24:29-31KJV
29 Immediately after the tribulation of those days shall the sun be darkened, and the moon shall not give her light, and the stars shall fall from heaven, and the powers of the heavens shall be shaken:
30 And then shall appear the sign of the Son of man in heaven: and then shall all the tribes of the earth mourn, and they shall see the Son of man coming in the clouds of heaven with power and great glory.
31 And he shall send his angels with a great sound of a trumpet, and they shall gather together his elect from the four winds, from one end of heaven to the other.
Last Day Resurrection Of All!
John 6:40KJV
40 And this is the will of him that sent me, that every one which seeth the Son, and believeth on him, may have everlasting life: and I will raise him up at the last day.