Any particular reason you only plan to work for that company for a few years? "to have the company in question on my resumé" seems like a poor reason; if you actually want to work there, why not work there for a substantial fraction of your career?
Also, have you considered the possibility of finding an apartment close to work? Unless you already own a home, moving to shorten your commute will save you huge amounts of money and time.