State tax on after tax 401K distributions

After I retired in 2017 I transferred the money in my 401K to my IRA.  I also had some after tax money in the 401K which I took as cash.  When I made the after tax contribution I was living in NJ.  I now live in NC.  Do I need to treat the after tax dollars as income in NC?