“God is both far and near. How is this? Rabbi Yehudah bar Shimon said: From here to the heavens is a journey of 500 years. We thus see that God is far.
How do we know that He is close? A person can stand in prayer, meditating in his heart, and God is close enough to hear his prayer. It is thus written, ‘You hear prayer, all flesh comes to You.’ (Psalms 65:3)” ~ Midrash, Devarim Rabbah 2:6