...is getting a divorce after filing will affect the application, does s/he has to stay married to the US spouse until the end of the naturalization process?
It did in my case, my N400 application was denied in 2007, 5 years after it was granted, because I divorced in 2004.
Divorce after filing N-400 Application
in US Citizenship General Discussion
Posted
Stay married until you are a citizen!