I had a J visa in US from 05/20/2017 to 12/01/2018. For 2018 state return, does it count as a part-year resident or a full-year resident? (I am resident for tax purposes)