I believe the applicant or the spouse, whoever, if applying from a country other where the applicant/spouse is citizen of, you need to prove that you entered the foriegn country legally and stayed legally for at least 1 year, after that it doesn't matter...as far as i know.