“All people are resurrected at different times depending on how they are judged. But how they are judged is the same.”
Those two sentences contradict each other, are you sure that is what you mean to say? If “how they are judged” is the same, and the time they are resurrected depends on “how they are judged”, then everyone would have to be resurrected at the same time, by that logic.
I think the key here is that there are two different purposes to the two resurrections, and therefore, two different purposes to the judgements that accompany them. The saved are not judged on their works in order to determine if they will be given eternal life or go on to damnation, because all who are part of the first resurrection are saved from damnation. The purpose that God judges them is simply to determine what rewards they will receive.
The wicked, on the other hand, will be judged on their works, prior to being thrown in the lake of fire. That’s not a sentence that the saved will face. You cannot apply the verse from Rev. 20 the way you seem to be trying, to apply it to both the saved and unsaved, because that section of Revelation is speaking only of the resurrection of the wicked, and we have already previously been told in Revelation of the fate of the saved, and that they will not be subject to that latter judgement. In fact, they will be sitting on thrones beside Christ during that judgement.