Yes. Prorate you income between California and Ohio. You only have to pay California tax on income you earned while you lived and worked in California.
TurboTax will show the total adjusted income from your W-2s and ask you how much of that amount was earned while living and working in California. Enter the California portion. Do the same when you get to Ohio.