No, because she was a nonresident alien before the marriage, she can qualify for the exemption and does not have to pay the penalty.
To enter in TurboTax:
In the HEALTH INSURANCE SECTION,
Did you all have health insurance coverage in 2017- Select I'll pick who had it which months.
Select the months each of you had health insurance in 2017--> enter months for both of you.
Do you have a situation that waives the tax penalty for being uninsured? Select No a Legal US resident
Which months you were not a legal US resident
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"