I've always understood the Final Judgment to occur just before the resurrection because the judgement determines which glory you are resurrected to. The Gospel Principles lesson on the Final Judgement seems to imply that also. It makes sense because we are to be resurrected to a glory, but that glory is dependent on the outcome of our judgement.
However I was reading in 2 Nephi 9 this morning where it says that the resurrection comes before judgment.
13 O how great the plan of our God! For on the other hand, the paradise of God must deliver up the spirits of the righteous, and the grave deliver up the body of the righteous; and the spirit and the body is restored to itself again, and all men become incorruptible, and immortal....
15 And it shall come to pass that when all men shall have passed from this first death unto life, insomuch as they have become immortal, they must appear before the judgment-seat of the Holy One of Israel; and then cometh the judgment, and then must they be judged according to the holy judgment of God.
There in verse 13 it says that the spirit and body are reunited (resurrection) and so we become immortal. Then in verse 15 it says that after we become immortal (resurrected) we will be judged.
So which is it? Does the judgment occur before or after the resurrection?