Cal. Gov't Code § 24002
A person is not eligible to the office of district attorney unless he has been admitted to practice in the Supreme Court of the State.