There is a warning for people who want to use 1040NR when they stay in US for more than 5 years and they have submitted their immigration petition.