Government Code § 27701
CHAPTER 13. Public Defender
A person is not eligible to the office of public defender unless he has been a practicing attorney in all of the courts of the State for at least the year preceding the date of his election or appointment.