The resurrection for the believers happens at the same time as the rapture. Then there are the 1000 years in which the believers rule and reign with Christ here on earth physically in their glorified bodies. The unbelievers have to wait for that 1000 years to end before they are resurrected. They then are judged and thrown into the Lake of Fire.
"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. But the rest of the dead lived not again until the thousand years were finished. This is the first resurrection." Revelation 20:4-5