No doubt, the job was a component. I think of it like diet and exercise though: the two are intertwined. A good job with flexible hours will enable a longer commute. A short commute enables a more demanding job. But really what you want to go for is a short commute and a flexible job. It's that middle ground @Nephrology is referring to. Decent employer outside of downtown and a house in the burbs. People dog on Atlanta for having terrible traffic(and it does) but it also has some great burbs and a ton of employers.
Do the math sometime on your commute. Cutting 30 minutes from your commute is 5 hours per week. Assume 48 work weeks per year and that's 240 hours. That's 6 40-hour work weeks or 10 24-hour days of your life every year. How much is your time worth to you? It adds up over time.