I think you're right that for a dog to live its best life it needs the ability to spend a lot of time outdoors with relative freedom. Our labrador had the chance to live like that in an excessively very large garden for his last 4 years. I'm glad he got that, I think it made his life much better. Looking back, when he stayed with us in an apartment he must've been depressed.