Yes, living close to work does often entail higher housing costs. I would encourage you to make sure you're looking at both sides of the equation, though. If you moved closer to work, could you sell a car? How much would that save you each year? Be sure to consider fuel cost, insurance, registration fees, maintenance cost, depreciation, and the expected return on your money if you sold the car and invested the cash into something with a better ROI than a car. Consider also your time. If you cut an hour a day out of your commute, would you be able to take on a side job to earn more money? Would you have more time to cook at home and feel the need to eat out less often? Would you feel generally happier with life?
Everyone's situation is different. In a lot of cases, driving to work makes sense. But one thing that MMM really tries to teach is that we Americans often underestimate the amount that we actually spend on our cars. Don't make that mistake when you're making your own life decisions.