1515 When the Evangelist says, Jesus said to her, I am the resurrection and the life, our Lord raises Martha to higher things. First, Jesus shows his own might and power; secondly, he mentions the effect of his power, he who believes in me, though he die, yet shall he live; and thirdly, he demands faith, Do you believe this?
1516 His power is life-giving; thus he says, I am the resurrection and the life. It is as though he were saying to Martha: Do you believe that your brother will rise on the last day? But this general event, that all will rise, will be caused by my power. Consequently, I, ...by whose power all will rise at that time, am also able to raise your brother now.
He is saying two things, namely, that he is the resurrection and the life. We should note that some need to share in the effect of life: some, indeed, because they have lost life; and others, not because they have lost it, but in order that the life they have may be preserved. In regard to the first he says, I am the resurrection, because those who have lost their life by death are restored. In regard to the second he says, and the life, by which the living are preserved.
We should note further that the statement, I am the resurrection, is a causal one. It is the same as saying: I am the cause of the resurrection, for this manner of speaking is usually applied only to those who are the cause of something. Now Christ is the total cause of our resurrection, both of bodies and souls; and so the statement, I am the resurrection, indicates the cause. He is saying: The entire fact that everyone will rise in their souls and in their bodies will be due to me: "For as by a man came death, by a man has come also the resurrection of the dead" (1 Cor 15:21).
Furthermore, the fact that I am the resurrection is due to the fact that I am the life: for it is because of life that they are restored to life, just as it is because of fire that something aflame which has been extinguished is rekindled: "In him was life, and the life was the light of men" (1:4).
1517 However, the effect corresponds to the power; thus he says, he who believes in me, though he die, yet shall he live, and whoever lives and believes in me shall never die. First, he treats of the effect which corresponds to the first power [the power to resurrect]; secondly, the effect which corresponds to the second power [the power to give life].
The first thing he said about his power is that he is the resurrection. The effect which corresponds to this is that the dead are brought to life by him. Referring to this he says, he who believes in me, though he die, yet shall he live. The reason for this is that I am the cause of the resurrection, and the effect of this cause is obtained by believing in me. He says, he who believes in me, though he die, yet shall he live, because by believing he has me within himself - "that Christ may dwell in your hearts through faith" (Eph 3:17). And one who has me, has the cause of the resurrection. Therefore, he who believes in me shall live. We saw before (5:25) that some will rise through faith: "the hour is coming, and now is, when the dead will hear the voice of the Son of God, and those who hear will live," with a spiritual life, by rising from the death of sin, and they will also live with a natural life by rising from the penalty of [physical] death.
Source: Commentary on John