Rev. 20:5 is not the only biblical quote that shows that there will be a first one, and later a general resurrection, and that both resurrections have very different characteristics. That teaching runs deep and is made clearer with additional Biblical knowledge... that not everyone has.
For example, if Jesus said that John the Baptist will not be with other resurrected in the Kingdom in heaven (Luke. 7:28), it is obvious that he has to resurrect on another occasion and NOT with those who will be with Jesus there ... but it is certain that John the Baptist will be part of this other group of faithful who will live on earth forever:
Mat. 5:5 Happy are the mild-tempered, since they will inherit the earth.
Another demonstration of two resurrections is to consider that the servants of God of old are not going to resurrect in heaven but on earth, because that was the hope that was given to them (Dan. 12:13; Heb. 11:8-10; 13-16; 39), and life in heaven was only given from the time of Jesus onwards (Mat. 11:12; John 3:3). That implies that they, pre-Christian worshipers of God, will not be resurrected to live there, but on earth (Psal. 37:10,11,29; Rev. 7:16,17; 21:3,4).
A third argument consists of the fact that if the Bible speaks of people who will live forever on earth and Jesus himself spoke of such people in Mat. 5:5 and yet there is a diferent group that will go to live in heaven with Jesus and will NEVER return to live on the planet, but instead have citizenship in heaven (Heb. 12:14,22-24; 13:14; Eph. 2:19; 1 Cor. 1:9; 2 Cor. 5:12; Col. 1:5; 1 Pet. 1:4) ... This implies that their resurrection is different from, and prior to, the general resurrection, especially if one takes into account that in heaven they will not have bodies of flesh like the ones that those who live on the planet will have (1 Cor. 15:50; 1 Pet. 1:10-13).
In Heb. 2:5 and then in Heb. 3:1 Paul speaks of the difference between "the inhabited earth to come" and the "partakers of the heavenly calling"... earth and heaven are two different places, since it is a terrestrial part that serves the Creator and a selection of humans taken from earth to participate from heaven in the reunification of humanity in general with the Creator (Eph. 1:9,10). In Rom. 8:20 Paul says that "the creation" awaits for the revelation of these humans who will be part of the heavenly family of God up there.
The matter can also be seen from a chronological perspective: for a group to reign over the planet's inhabitants for a thousand years, it is necessary and obligatory that they have already been resurrected before the inhabitants who will resurrect to join the survivors of the great tribulation. The resurrection of the future kings allows the blessings that their reign with Jesus brings to the rest of humanity on the planet in the future, that is, the perfection of humanity depends on the work of the kings/priests who have already had to be in heavens and performing their priesthood on behalfof of the human race before God. Paul says that the servants of God of old when they are resurrected, cannot be perfected without the function that the kings/priests will perform from heaven.
Heb. 11:39 And yet all of these, although they received a favorable witness because of their faith, did not obtain the fulfillment of the promise, 40 because God had foreseen something better for us, so that they might not be made perfect apart from us.
Furthermore, if we chronologically coordinate the words of Jesus in Mat. 24:31 and Matt. 19:28, we find that when all of today's humanity is finally judged, Jesus' brothers stand with him as judges. It is obvious that they would have had to be resurrected by that time (1 Cor. 6:2). However, the general resurrection of the rest of the humans is yet to take place at a time after that judgment, proving once again that there is an earlier resurrection than the general one, which is for the future judges/kings/priests to be together with Jesus for when the terrestrial Millennium begins (Dan. 7:22,27).
All these arguments and others show that there is a first resurrection and then, later, another of a different nature.
PS: Please read the biblical quotes to get the teaching out of the Scriptures and learn from them.