The particular Judgement (emphasis mine)
1022 Each man receives his eternal retribution in his immortal soul at the very moment of his death, in a particular judgment that refers his life to Christ: either entrance into the blessedness of heaven-through a purification or immediately, or immediate and everlasting damnation.
Think of the story Jesus tells of the rich man and Lazarus.
Luke 16:19-31 Both die. Do they have memory intellect and will fully functional? Absolutely.
We are created, both body and soul by God. The soul lives forever, it is immortal. It doesn’t die, it doesn’t sleep. The body otoh, is mortal, it dies. At death of the body, our soul and body seperate. The body is buried, our soul is immediately judged and we know immediately where we will spend eternity. One might ask how do we “know” anything, without a body, particularly without a brain where understanding and thinking occurs? What animated the body, including the brain, giving it life? It’s the soul. The soul then carries into eternity memory intellect & will fully functional. The body will rise in the resurrection of the dead, at the end of the world, whenever that is. The resurrected body and soul, are reunited. Those who are in hell are now in hell body and soul, those in heaven are now in heaven body and soul, purgatory ceases to exist.