This is usually to determine if your state refund is taxable or not. Or it might be to determine if you owe a penalty.
https://ttlc.intuit.com/replies/7362231