(a) Except as otherwise provided in subsection (b) of this section:
(1) If the marriage was entered into within this state, an action for divorce is maintainable if one of the parties is an actual bona fide resident of this state at the time of commencement of the action, without regard to the length of time residency has continued; or
(2) If the marriage was not entered into within this state, an action for divorce is maintainable if:
(A) One of the parties was an actual bona fide resident of this state at the time the cause of action arose, or has become a resident since that time; and
(B) The residency has continued uninterrupted through the one-year period immediately preceding the filing of the action.
(b) An action for divorce cannot be maintained if the cause for divorce is adultery, whether the cause of action arose in or out of this state, unless one of the parties, at the commencement of the action, is a bona fide resident of this state. In such case, if the respondent is a nonresident of this state and cannot be personally served with process within this state, the action is not maintainable unless the petitioner has been an actual bona fide resident of this state for at least one year next preceding the commencement of the action; or
(c) When a divorce is granted in this state upon constructive service of process and personal jurisdiction is thereafter obtained of the respondent in the case, the court may order all or any portion of the relief that has been demanded in the pleadings.