You're talking about HRR waivers? Marriage is irrelevant, except potentially in relation to exceptional hardship to a U.S. citizen or LPR spouse.
Quote Quoting What are the bases upon which I can apply for a waiver of the two-year home-country physical presence requirement?
Review the Waiver Eligibility webpage, which explains in detail the five bases set forth in U.S. immigration law under which you may apply for a waiver of this requirement. You may only apply under one waiver basis, so select the one basis under which you believe you qualify for a waiver or that applies to your situation. The five bases for recommendation of a waiver are:

  • No Objection Statement;
  • Request by an Interested U.S. Federal Government Agency;
  • Persecution;
  • Exceptional Hardship to a U.S. Citizen (or lawful permanent resident) Spouse or Child of an Exchange Visitor; and
  • Request by a Designated State Public Health Department or its Equivalent (Conrad State 30 Program).