Write the next sentence in this paragraph:

How to apply for a divorce in new york
Satisfy the residency requirement.
Only people with a substantial connection to new york can get divorced here. You must meet one of the following requirements :
Either you or your spouse has lived in new york for two continuous years before you start the divorce.
Either you or your spouse has been living in new york for at least one year and you were married in new york or you lived in new york as a married couple. Either spouse has lived in new york for one year and the grounds for divorce occurred in new york.