Let me summarize the Bible references to the two resurrections.
In these references, the two resurrections of the righteous and the wicked are mentioned but their timing, whether separate or simultaneous is not stated. John 5:28, 29, Dan 12:2, Acts 24:15, Heb 11:35. However, the very fact that two resurrections are mentioned at all, means that they are likely separate events (as distinct from a single general resurrection of all people).
It is only in Rev 20:4-6 that we discover that the two resurrections of the righteous and wicked are separated by 1000 years:
I saw thrones on which were seated those who had been given authority to judge. And I saw the souls of those who had been beheaded because of their testimony about Jesus and because of the word of God. They a had not worshiped the beast or its image and had not received its mark on their foreheads or their hands. They came to life and reigned with Christ a thousand years. (The rest of the dead did not come to life until the thousand years were ended.) This is the first resurrection. Blessed and holy are those who share in the first resurrection. The second death has no power over them, but they will be priests of God and of Christ and will reign with him for a thousand years.
[Note: Based on John 3 about being born again and the above passage, it has been said that if a person is born twice they only die once; but if one is born once, they die twice.]
- It is not clear, but it appears that there might be a "special resurrection" of some who were responsible for murdering/executing Christ as recorded in Rev 1:7 when Jesus returns the second time:
“Look, he is coming with the clouds,” and “every eye will see him, even those who pierced him”; and all peoples on earth “will mourn because of him.” So shall it be! Amen.
However, this is a debated point I do not wish to make too much of it. For example, it might be that Rev 1:7 is discussing the wicked dead seeing Jesus after the 1000 years. However, this might be the subject of another question.
- 1 Thess 4:15-17 -
According to the Lord’s word, we tell you that we who are still alive, who are left until the coming of the Lord, will certainly not precede those who have fallen asleep. For the Lord himself will come down from heaven, with a loud command, with the voice of the archangel and with the trumpet call of God, and the dead in Christ will rise first. After that, we who are still alive and are left will be caught up together with them in the clouds to meet the Lord in the air. And so we will be with the Lord forever.
Note that is NOT discussing the resurrection of the wicked, only the righteous - the "rising" of the righteous is to meet the Lord in the air. The wicked are not discussed.