If I marry a U.S citizen as an international student and wish to live in the U.S following our marriage for just 1-2 more years, legally, is it necessary for me to file form I-485? Can I just finish up school as an immediate relative of a U.S citizen and only file form I-130? Also, will leaving the U.S after the 1-2 year point jeopardize my chances of visiting the U.S in the future?
I should mention, my spouse and I would both be leaving the U.S together.
It would also be very helpful to know what exactly my immigration status in the U.S would be after our marriage, and after I file form I-130 and it is approved. Say I choose to take a break from school or continue completely online.. because this might be a problem for me if I am still technically living in the U.S on a student visa.
Thank you for your help.

