Can my child get California in-state tuition if he has lived in California over one year in childhood?

Correct. What you did when you were two years old doesn’t matter.