i'm just wondering.

Will God hear my prayers even if I'm far away from Him? I haven't prayed in a long time and I have been living a lukewarm life but I'm trying to get out of that habit by praying and reading the bible. Any tips or advice. I just prayed today asking Him for forgiveness for my sins and thanking him for all He has done. But I was doubting that He could hear me. Lmk guys.