The resurrection precedes the final judgment. In a sense, this judgment is a formality so far as concerns assigning persons to their respective kingdoms of glory.
All who have entered mortality will be resurrected, but they will come forth with different kinds of bodies—some celestial, some terrestrial, some telestial, and some with bodies incapable of enduring any degree of glory.
The body we receive in the resurrection determines the glory we receive in the kingdoms that are prepared.
“The reality is that there will be a whole hierarchy of judges who, under Christ, shall judge the righteous. He alone shall issue the decrees of damnation for the wicked.”
(The Millennial Messiah, p. 520.)