Of course it can.
Just think of the story in the Scriptures of the Centurion whose servant was dying and he met Jesus along the way. It is as follows:
5 And when he had entered into Capharnaum, there came to him a centurion, beseeching him, 6 And saying, Lord, my servant lieth at home sick of the palsy, and is grieviously tormented. 7 And Jesus saith to him: I will come and heal him. 8 And the centurion making answer, said: Lord, I am not worthy that thou shouldst enter under my roof: but only say the word, and my servant shall be healed. 9 For I also am a man subject to authority, having under me soldiers; and I say to this, Go, and he goeth, and to another, Come, and he cometh, and to my servant, Do this, and he doeth it. 10 And Jesus hearing this, marvelled; and said to them that followed him: Amen I say to you, I have not found so great faith in Israel. 11 And I say to you that many shall come from the east and the west, and shall sit down with Abraham, and Isaac, and Jacob in the kingdom of heaven: 12 But the children of the kingdom shall be cast out into the exterior darkness: there shall be weeping and gnashing of teeth. 13 And Jesus said to the centurion: Go, and as thou hast believed, so be it done to thee. And the servant was healed at the same hour.
***From this story it is clear to see that it was the faith of the centurion that moved the heart of Jesus to heal the servant. Faith was the key not distance.
It is not the prayer alone that heals, nor the proximity of the person praying to the one who is sick, but the power of God through the Holy Spirit. With Him there is no distance as He is omnipresent.