The Code of Criminal Procedure, 1973 (CrPc)
(1) Proceedings under section 125 may be taken against any person in any district-
(a) where he is, or
(b) where he or his wife resides, or
(c) where he last resided with his wife, or as the case may be, with the mother of the illegitimate child.
(2) All evidence to such proceedings shall be taken in the presence of the person against whom an order for payment of maintenance is proposed to be made, or, when his personal attendance is dispensed with in the presence of his pleader, and shall be recorded in the manner prescribed for summons-cases:
Provided that if the Magistrate is satisfied that the person against whom an order for payment of maintenance is proposed to be made is willfully avoiding service, or willfully neglecting to attend the court, the Magistrate may proceed to hear and determine the case ex-parte and any order so made may be set aside for good cause shown on an application made within three months from the date thereof subject to such terms including terms as to payment of costs to the opposite party as the Magistrate may think just and proper.
(3) The Court in dealing with applications under section 125 shall have power to make such order as to costs as may be just.