The Catechism in Questions & Answers

579. What will happen once evil has been deprived of its power forever?

After evil is deprived of its power forever, the resurrection of the dead for judgement will take place. Then Jesus Christ will judge all human beings who have ever lived. The only ones exempted from this Last Judgement are those who took part in the first resurrection.

The “Last Judgement” is the final judgement over all human beings who did not take part in the first resurrection. This judgement is described in
Revelation 20: 11-15.

“And the dead were judged according to their works, by the things which were written in the books.”
Revelation 20: 12