I am a Canadian citizen working in California on a TN visa. I worked 4.5 months in 2016 and plan to continue working here indefinitely. Am I considered a tax resident for 2016?
You want FTB Publication 1031: Guidelines for Determining Resident Status. And if you still have questions, the assistance of a professional tax preparer.
Armchair version: you're likely a California resident for tax purposes.