Any bail, or moneys or bonds deposited in lieu of bail, or any equity in real property as security in lieu of bail, or any agreement whereby the defendant is released on his or her own recognizance shall be exonerated two years from the effective date of the initial bond, provided that the court is informed in writing at least 60 days prior to 2 years after the initial bond of the fact that the bond is to be exonerated, or unless the court determines otherwise and informs the party executing the bail of the reasons that the bail is not exonerated.
Ca. Pen. Code § 1304