State tax filing

The thing is I didn't work in California. I worked remotely from Arizona for a company based in CA. From my research I see that I should place zero in order to get all the state taxes returned that were paid to CA.