The answer depends upon the type of Court and DMV resolution in your case. If your attorney was able to work out a reduction than in most cases, yes. However, in certain cases you must attend an in person DUI class approved by the state, inside the boundaries of California. For example, if you were convicted of VC23152 a or b and have a California license and live within the state you must attend an in person class in CA. However, if you live outside Ca and do not have a Ca license you can usually get away with an online as long as the Court approved it in advance.
Here is an example of a recent case: The defendant was arrested in Los Angeles for VC23152 and went to Court. The Judge ordered completion of an AB762 class because his blood alcohol level was .17. Through negotiations with the prosecutor, they agreed an online class was OK because he lived out of state and did I not have a California drivers license. The 1650 waiver process was explained. He provided a certificate of completion of an on line AB762 class which was filed with the Court and that satisfied the Court requirements of completion of a DUI/DWI program.
Make sure that whatever class you do, that it will provide you a certificate of completion that meets the requirements of the specific class you were ordered to complete, for example:
12 hour, SB 1176 class
3 month AB 541 class
6 month AB762 class
9 month AB 1353 class
18 month SB38 class
Here are a couple online DUI class providers that offer CA classes:
Tom Wilson DUI schools
Ari Novick DUI schools online
Be sure to get advance approval from the Court before starting an online DUI/DWI class. Remember, these web based schools are not approved by CA DMV but may satisfy your Court requirements. Check with you attorney before beginning.