You file a non-resident return for California to report the income earned from your internship and a resident state return for Virginia.
In your situation, you will file a Federal return, a Virginia return, and a California Non-Resident return. Your California non-resident return will report only the income earned in California. The Virginia return will report ALL income, but provide an allowance for any tax paid to the state of California. (You will not be taxed on the same income twice.)
Complete your non-resident state return (California) first. This will allow the credit to be calculated and applied to your Virginia return.
Review the link below for more information:
How to file part-year resident
@tresah
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"