My girlfriend lived in Canada and came to the USA to see me 2-3 weekends a month. One of those weekends we got married. IIRC we got married in mid-January, applied for the green card in late February, and got it in November. (This was all in 2011 so keep that in mind.) She continued to come see me between January and November just as before.