A proceeding for dissolution or legal separation may be brought by either or both spouses and shall be commenced by personal service of the summons and petition venued in the county where either spouse resides. If neither party resides in the state and jurisdiction is based on the domicile of either spouse, the proceeding may be brought in the county where either party is domiciled. If neither party resides or is domiciled in this state and jurisdiction is premised upon one of the parties being a member of the armed services stationed in this state for not less than 180 days immediately preceding the commencement of the proceeding, the proceeding may be brought in the county where the member is stationed. This venue shall be subject to the power of the court to change the place of hearing by consent of the parties, or when it appears to the court that an impartial hearing cannot be had in the county where the proceedings are pending, or when the convenience of the parties or the ends of justice would be promoted by the change. No summons shall be required if a joint petition is filed.