After you file

A state refund is taxable in the year it is recieved so you do not put a 2020 refund on the 2021 return if you did not get it in 2021.  Also a 2020 state refund is not taxable if you did not itemize deductions on the 2020 return no matter when you actually get it.