All, past, present, and future will be judged: thus the Apostle says: We must all be manifested before the judgement-seat of Christ, that everyone may receive the proper things of the body according as he hath done, whether it be good or evil. Of the wicked, some will be condemned, but not be judged: namely unbelievers whose works will not be discussed, since He that believeth not is already judged. Some will be both condemned and judged, namely the faithful who die in mortal sin: The wages of sin is death, because on account of the faith which they had they will not be excluded from the judgement. Of the good, some will be saved and will not be judged, namely those who for God’s sake are poor in spirit; indeed, they will judge others: You who have followed me, in the regeneration when the Son of man shall sit on the seat of his majesty, you also shall sit on twelve seats judging the twelve tribes of Israel, which is to be referred not only to the disciples, but also to all the poor; otherwise Paul who labored more than the others would not be of their number: and consequently we must understand these words refer to all who follow the Apostles, and of men with an apostolic spirit. Hence the Apostle says: know ye not that we shall judge the angels? – The Lord will enter into judgement with the ancients of his people and its princes. Some, however, will be both saved and judged, those, namely, who die in the state of righteousness: since although they died righteous, yet through being occupied with temporal matters they fell somewhat, and therefore they will be judged, yet saved; in fact, they will be judged concerning all their works both good and bad: Walk in the ways of thy heart…and know that for all these God will bring thee into judgement. All things that are done God will bring into judgement for every error, whether it be good or evil.
--St. Thomas Aquinas, Exposition of the Apostles’ Creed