In answer to your question, it greatly depends on a lot of factors. Normally, you need to plan to stay in a house for at least 4-5 years, for it to be worth while to buy. Now, there are exceptions, but almost all of those exceptions require that you buy a home lower than current market value, and home values either remain steady or go up. As you can find out about our current home values, in many cases, they are not higher than they were a few years ago. I wish I could tell you that we know for sure that home values will increase over the next few years, and while I suspect that they will, I can't guarantee it happening.
Interest rates are at all time lows, which could prove beneficial to you, if you purchase and stay here 5-8 years.
If you'd be interested in discussing your situation more, you are welcome to call me or send me an email, with any questions you may have.
Real Estate Broker/Realtor