Yes, you generally are able to apply for unemployment once after your doctor lifts your restrictions and your SDI payments are suspended. At that point you will be able to apply for unemployment in the same way that you would if you had just been terminated (you can fill out the application online at https://eapply4ui.edd.ca.gov/). As a matter of caution, I would recommend submitting the UI application after receiving your final SDI payment (so that they do not reject it on the grounds that you are disabled), but you may want to call the EDD directly at 800-300-5616 to see if there is a way you can indicate that your period of disability is coming to a close so that there is a minimal lapse in benefits.
Best of luck to you.
Disclaimer: This reply does not constitute legal advice or the establishment of an attorney-client relationship, and constitutes only general guidance based on the limited information provided, and may not take into account additional relevant facts and circumstances pertaining to your specific situation.