California law defines a resident as someone who is either domiciled in California, or who is present there for other than a temporary or transient purpose. As an intern, you are pretty clearly present there for a temporary or transient purpose, so if you aren't domiciled in California you're a nonresident for tax purposes.