State tax filing

Were the rules changed? I.e. I thought exempt time-frame used to be 5 years for J-visa students. Is it now 2 years?