The law that applies is here. It states in relevant part:
(2) For purposes of this article only, and subject to the provisions of subsection (7) of this section, "marital property" means all property acquired by either spouse subsequent to the marriage except:
(a) Property acquired by gift, bequest, devise, or descent;
(b) Property acquired in exchange for property acquired prior to the marriage or in exchange for property acquired by gift, bequest, devise, or descent;
(c) Property acquired by a spouse after a decree of legal separation; and
(d) Property excluded by valid agreement of the parties.
So, if she signs a separation agreement saying she has no rights to the house upon divorce then that works; or if you get a decree of legal separation before title vests in your name, then that should also work.
Please Note: (1) Just Answer’s site disclaimers apply to all levels of service; (2) Most follow-up questions are answered with in the hour; however, if I am not signed on, please allow up to 24 hours; and (3) If we are done, please assign a feedback rating so Just Answer will compensate me for your question. Thank you for using Just Answer.