State tax filing

What state?

In NJ,the tax website explains how to use the 3-year and General rules on an NJ tax return.

You should consult your own state's information.

It only applies to 401k and other pension accounts, not to IRAs.