As far as what? In some states, it doesn't matter who files, priority is given to the party who first completes service upon the other party. And if that's the case, then the responding party's Petition may be allowed as a Response (depending upon your local court's rules).
Seek legal advice from an attorney or ask an officer of the court for more information regarding your local court's regulations.