Received a W2 and 1099 Misc for a class action settlement from different state. Do I need to file taxes for 2 states?

Hello,

 

I am a resident of NC. I received a W2 (for CA, amount <$10) and 1099-Misc for a gross settlement amount. 

Please advise if I need to file taxes for 2 states (NC and CA)?

 

Thanks in advance!