Yes - If you itemized your deductions in 2017 and included the state taxes as a deduction on your Schedule A.
If you did not itemize deductions in 2017, then don't include it in your 2018 return as taxable income on yur federal return.