Dear Sir or Madame
If you leave the U.S. to obtain an immigrant visa at the embassy, you will be denied entry to the U.S. unless you apply for and you are granted a waiver of your bar to enter the U.S. as a result of being here illegally for ten years.
It is better for you to apply for residency in the U.S. when your spouse becomes a U.S. citizen, and then you don't have to leave.
I advise you that you contact an immigration attorney that you trust to see when your spouse would qualify for citizenship and whether to file the I-130 now or wait until he/she becomes a citizen.
Good luck.
Answered on Nov 09th, 2011 at 12:58 PM