The rest of the dead lived not until the thousand years should be finished. This is the first resurrection.
Revelation 20
Revelation 20:1-7