If you are unable to afford a divorce lawyer in California, you have the right to represent yourself in court. However, keep in mind that divorce cases can be complex and require knowledge of California family law. It is important to thoroughly research and educate yourself on the process. You may be able to receive free legal assistance through legal aid organizations. You could also search for pro bono lawyers through the State Bar of California's website.