<human>: Can you give me the gist of the text in a nutshell?

I'm getting married soon and would like to plan for our first home together- one without roommates. We currently live separately and will remain this way until we're married. She owns her home, but is content selling or renting out the space. I'd like to avoid planning to move into her home as it is around 85 miles (An hour and a half) each way to work from that location. I love my work, company, culture, and career opportunities with this company and switching jobs is out of the question. Working from home or remotely isn't an option with my job. The wedding is in about 6 months.

We plan to move to a different spot on the country once I'm fully vested and she's finished with her degree in just about 2 years. With that in mind, I see my options as the following: 

* Move into my own apartment where she can move into once we're married.
* Purchase a home

Both of us prefer homes over apartments and I'd like to live in a space without a roommate ASAP. With this: Is there any instance when owning a house for 2 years makes sense? I'd be purchasing in the suburbs outside of Philly (NJ side). I have cash to be able to make a 10% down payment available. No debts, maxed out Roth IRA, 12% + 3% company match 401k, and an emergency fund that wouldn't be touched. 
I've read [this] post by /u/keevenowski which helped identify the costs.  I'm looking specifically at advice on selling after just 2 years.
<bot>: I feel like I'm throwing money away by renting and don't want to rent while married. I have the urge to buy a home, but plan to move in 2 years. What costs do I have to keep in mind?