This doesnt make any sense. If you are married to a us citizen you qualify for a green card. Then you need 3 years for citizenship. You never need to leave the country. Ive been through this process, this is absolutely wrong.
OP either intentionally left out some crucial details or their friend lied.