The more wood you pile on a fire the more heat you get, and thus it is with God - the more you think on Him the more you are fired with love and fervor towards Him. He who loves the Lord is always mindful of Him, and remembrance of God begets prayer.
A man is neither saved nor lost by the place he is in, but is saved or lost by his deeds. Neither a holy place nor a holy state is of use to him who does not fulfill the commandments of the Lord.