According to the spiritual understanding, note that a threefold state is designated in the course of this miracle, namely the state of justice in the Lord's company; the state of injustice in the dead young man; and the state of penance in the same one raised to life.
The state of justice is designated in Christ and his company. For the state of the just is threefold, namely of contemplation, prelacy, and action. The state of prelates is designated in Christ, of whom it is said in John 10: "I am the good shepherd: the good shepherd lays down his life for his sheep"; where he shows in himself ...the form of right prelacy. — The state of contemplatives is designated in the disciples, who are admitted to the mountain at the transfiguration of the Lord, according to that passage of Matthew 17: "Jesus took Peter and James and John his brother, and led them up a high mountain apart, and was transfigured before them"; and below, in chapter 10: "Turning to his disciples he said: Blessed are the eyes that see what you see"; this is said to contemplatives. The state of actives is designated in the crowd, which is tossed about in the waves of the world; below, in chapter 10: "Martha, Martha, you are anxious and troubled about many things"; because, as is said in John 16, "in the world you will have tribulation: but take courage, I have overcome the world." — Concerning this threefold state of justice it is said figuratively in Ezekiel 14: "If Noah, Daniel, and Job were in the midst of it, they indeed will deliver their own souls," etc. By Noah are understood prelates; by Daniel, to whom was given the understanding of visions, contemplatives; by Job, actives.
The state of fault, however, is designated in the dead youth, of which there is a threefold degree: the first in interior affection; the second, in exterior operation; the third, in habit or obstinacy. These three states are designated by the three dead persons raised by the Lord, both by reason of places and by reason of ages. For the state of those sinning in the heart is designated by the girl who died in the house, of whom we read in Mark 5. The state of those sinning in deed is designated by the youth who was found at the gate of the city, because sin has already gone forth and become manifest; of whom we read here. The state of those sinning through habit and obstinacy is designated by Lazarus, already lying in manly age, already four days dead and stinking in the tomb, in John 11. To these three correspond three dead persons raised in the Old Testament, namely the little boy raised by Elisha, the son of the Shunammite woman, in Fourth Kings 4; the youth, the son of the woman of Zarephath, raised by Elijah, in Third Kings 17; and the man, raised by the dead Elisha, in Fourth Kings 13. In these three are designated the three aforementioned states. Also in these three, the three roots of sins can be designated, because one died from the languor of illness, in which is signified the concupiscence of the flesh; another from the heat of the sun, in which is signified the cupidity of the world; the third invisibly, in which is signified the pride of life.
Now the state of penance is designated in the raised youth, of whom it is said that he sat up and began to speak and was restored to his mother. He sat up indeed through contrition, which lifts the head from the ground: in the Psalm: "Rise up after you have sat, you who eat the bread of sorrow"; and according to that passage of Jeremiah 15: "I sat alone, because you have filled me with bitterness." He began to speak, through confession: Job 10: "I will speak in the bitterness of my soul, I will say to God: Do not condemn me"; and chapter 7: "I will not spare my mouth, I will speak in the tribulation of my spirit, I will converse in the bitterness of my soul." He was restored to his mother, the Church, through satisfaction, because to make satisfaction is to render what is owed, not only to God the Father, but also to mother Church: in whose figure it is said in 4 Kings 4: "Take this child and bring him to his mother." And just as a mother gladly receives her raised son, so Christ and the Church joyfully receive the penitent sinner: below in chapter 15: "It was fitting to feast and rejoice, because this brother of yours was dead and has come back to life."
Source: Commentary on Luke, Chapter 7