10 Therefore, to make this the occasion of instructing your Charity, all souls have, when they quit this world, their different receptions. The good have joy; the evil, torments. But when the resurrection takes place, both the joy of the good will be fuller and the torments of the wicked heavier, when they shall be tormented in the body. The holy patriarchs, prophets, apostles, martyrs, and good believers, have been received into peace; but all of them have still in the end to receive the fulfillment of the divine promises; for they have been promised also the resurrection of the flesh, the destruction of death, and eternal life with the angels.
This we have all to receive together; for the rest, which is given immediately after death, every one, if worthy of it, receives when he dies. The patriarchs first received it— think only from what they rest; the prophets afterwards; more recently the apostles; still more lately the holy martyrs, and day by day the good and faithful. Thus some have now been in that rest for long, some not so long; others for fewer years, and others whose entrance therein is still less than recent. But when they shall wake from this sleep, they shall all together receive the fulfillment of the promise.
Source: Tractates on the Gospel of John (New Advent)