Revelation 20:5
20:5 (The rest of the dead did not come to life until the thousand years were finished.)
This is the first resurrection.
Revelation 20:11-14
The Great White Throne
20:11 Then I saw a large white throne and the one who was seated on it; the earth and the heaven fled from his presence, and no place was found for them.
20:12 And I saw the dead, the great and the small, standing before the throne. Then books were opened, and another book was opened – the book of life. So the dead were judged by what was written in the books, according to their deeds.
20:13 The sea gave up the dead that were in it, and Death and Hades gave up the dead that were in them, and each one was judged according to his deeds.
20:14 Then Death and Hades were thrown into the lake of fire. This is the second death – the lake of fire.