Antoninos asked Rabbeinu Hakadosh: When a man dies and his body disintegrates, how can the Holy One Blessed be He stand him in judgment? Rabbeinu Hakadosh: Before you ask be about the body, which is tamei (impure), ask me about the soul, which is pure (i.e., How can that stand for judgment?) (Rabbeinu Hakadosh, continuing:) This may be compared to (the instance of) a king of flesh and blood, who had a beautiful orchard, etc. (see Sanhedrin 91a and b).
Antoninos Asked Rabbeinu Hakadosh When a Man Dies and His
Mekhilta Tractate Shirah 2:25