127. Initial child-custody jurisdiction
(a) Except as otherwise provided in § 130, a court of this State has jurisdiction to make an initial child-custody determination only if:
(1) this State is the home State of the child on the date of the commencement of the proceeding, or was the home State of the child within six months before the commencement of the proceeding and the child is absent from this State but a parent or person acting as a parent continues to live in this State;
(2) a court of another State does not have jurisdiction under paragraph (1), or a court of the home State of the child has declined to exercise jurisdiction on the ground that this State is the more appropriate forum under § 133 or § 134, and:
(A) the child and the child’s parents, or the child and at least one parent or a person acting as a parent, have a significant connection with this State other than mere physical presence; and
(B) substantial evidence is available in this State concerning the child’s care, protection, training, and personal relationships;
(3) all courts having jurisdiction under paragraph (1) or (2) have declined to exercise jurisdiction on the ground that a court of this State is the more appropriate forum to determine the custody of the child under § 133 or § 134; or
(4) no court of any other State would have jurisdiction under the criteria specified in paragraph (1), (2), or (3).
(b) Subsection (a) is the exclusive jurisdictional basis for making a child-custody determination by a court of this State.
(c) Physical presence of, or personal jurisdiction over, a party or a child is not necessary or sufficient to make a child-custody determination.