Either the plaintiff or the defendant must have resided in North Carolina for at least six months immediately preceding the institution of the divorce action. The six-month residency requirement is jurisdictional. In the event the requirement is not met, the court would not have jurisdiction to try the action and any decree rendered would be void.