There are many factors that can affect your ability to obtain a temporary visa to work in California. These include the country from which you come and the work that you intend to do. Each of these two factors affects the type of temporary work visa that you can obtain. The U.S. State Department lists eleven different categories of temporary work visas.
Complying with governmental requirements will not guarantee you will be able to obtain a green card or a work visa. There are special rules that accompany such visas. And there may only be a specific number of visas available.