1511 Martha is shown to have an extraordinary devotion; Martha said to Jesus, Lord, if you had been here, my brother would not have died. Here she reverently mentions two things to Christ: one of these look to the past, and the other to the future. She looks to the past when she says, Lord, if you had been here, my brother would not have died: for she believed that there would be no place for death when the Lord was present, since she had seen the woman healed by merely touching the fringe of Jesus' garment (Matt 9:20). This was reasonable, for life is contrary to death; but Christ is life and... the tree of life: "She [wisdom] is a tree of life to those who lay hold of her" (Prv 3:18). So if the tree of life could preserve one from death, much more could Christ. However, her faith was as yet imperfect, for she thought that Christ had less power when he was absent than when he was present. Thus she said, Lord, if you had been here, my brother would not have died. Of course, this can be said of a limited and created power, but it should not be said of the infinite and uncreated power which is God, because God is equally related to things both present and absent; indeed, all things are present to him: "Am I a God at hand, says the Lord, and not a God afar off?" (Jer 23:23).
Source: Commentary on John