Only in terms of an emergency hearing - but that will be followed in short order by a hearing where the other party can/will be heard.
Absent an emergency filing? The other party (*) must be served according to state law.
(*)If the petitioner is a third party (like... a grandparent... ), BOTH...