State tax filing

The General rule and the Three year rule apply to pensions.

A qualified retirement plan such as 401k or TSP is not a pension.