Expungement is available to defendants convicted of either California misdemeanors or felonies provided that: The defendant has successfully completed probation for the offense, and. The defendant either: Did not serve time in state prison for the criminal case, or.