Contrary to Oracle's assertions, the California Labor Code is clearly intended to apply to work done in California by nonresidents. The California Supreme Court has concluded that California's employment laws govern all work performed within the state, regardless of the residence or domicile of the worker.
All workers have rights on the job. In California, workers are protected by labor laws. It does not matter where you were born or what your legal status is. Once you are hired, you have rights.
The Professional Exemption sets out eight specific professions (law, medicine, dentistry, optometry, architecture, engineering, teaching, and accounting) that are exempt from the first 12 sections of the Wage Orders. It also addresses certain other professions, including nurses, pharmacists and software coders.
California labor laws are renowned for their comprehensive nature, providing many employee protections. However, they primarily apply to individuals who perform work within the state's borders. This includes individuals who physically work in California, regardless of their residency or the location of their employer.
Under Labor Code Section 202, when an employee not having a written contact for a definite period quits his or her employment and gives 72 hours prior notice of his or her intention to quit, and quits on the day given in the notice, the employee is entitled to his or her wages at the time of quitting.
If you work in California, you are covered by the California Labor Code. It does not matter where your company is "based" out of. As such, under California law, a "use it of lose it" policy is illegal.