I totally believe this. Whenever I'm being unproductive or battling an idea/problem I'll go outside - walk around or bike, do something. Taking your mind off things allows it to come back stronger than ever when tackling the problem again. At least for me, anecdotally, this is true.
I'm in the same boat. Anytime life presents a problem that I can't seem to wrap my head around I get up from my desk, take a short walk, and it usually comes to me.
As an added bonus I've discovered that there's a small lake less than a mile from my office that I never knew existed(part of a planned housing community) and I've seen all kinds of things I wouldn't have otherwise.