Good morning. Yes, your ability to be executor of the estate would be revoked. I have provided the code below, to evidence that as well. Either the alternate executor would take over or the probate counrt would appoint someone.
6122. (a) Unless the will expressly provides otherwise, if after executing a will the testator's marriage is dissolved or annulled, the dissolution or annulment revokes all of the following: (1) Any disposition or appointment of property made by the will to the former spouse. (2) Any provision of the will conferring a general or special power of appointment on the former spouse. (3) Any provision of the will nominating the former spouse as executor, trustee, conservator, or guardian. (b) If any disposition or other provision of a will is revoked solely by this section, it is revived by the testator's remarriage to the former spouse. (c) In case of revocation by dissolution or annulment: (1) Property prevented from passing to a former spouse because of the revocation passes as if the former spouse failed to survive the testator. (2) Other provisions of the will conferring some power or office on the former spouse shall be interpreted as if the former spouse failed to survive the testator. (d) For purposes of this section, dissolution or annulment means any dissolution or annulment which would exclude the spouse as a surviving spouse within the meaning of Section 78. A decree of legal separation which does not terminate the status of husband and wife is not a dissolution for purposes of this section. (e) Except as provided in Section 6122.1, no change of circumstances other than as described in this section revokes a will. (f) Subdivisions (a) to (d), inclusive, do not apply to any case where the final judgment of dissolution or annulment of marriage occurs before January 1, 1985. That case is governed by the law in effect prior to January 1, 1985.
Please let me know if you have any follow up questions or need any clarification on something which I stated above. Also, remember to rate my service at the top of this page, before exiting the site, so I can receive credit for my help. I hope you found it to be 5 STARS! Only rate my answer when you are 100% satisfied. If you feel the need to click either of the two lower ratings to the left, please stop and reply to me. I want to make sure your experience with the site was as pleasurable as possible and that you are satisfied with the help I provided.