A writ of habeas corpus may be procured by 1 spouse living apart from the other, without being divorced, to determine the proper custody or charge of a minor child of the marriage, and orders may be made thereon, as provided by § 705 of Title 13 [repealed].