There are several rulings that the wife can file where she is temporarily residing.
1. Even if the wife was living with her brother at the relevant time at Sidhbari (dharmasala) though temporarily despite the fact that she was serving in the school at Naud on part time basis, Dharmasala has got jurisdiction. Smt. Kesari Devi Vs, Jagdev Singh 2005 Cr.L.J. 1091 (HP)
2. Petition for maintenance of wife and his daughter at the place where the wife is residing it is immaterial that the wife is not residing there (Kumutham Vs. Kannappan 1998 SCC (Cr.)1377 at P. 1378)
3. The court within whose jurisdiction the petitioner is residing, has jurisdiction to try the petition (Moti Ram Vs. Ist Addl. District Judge, Bareilly 1992 Cr.L.J. 1007 (All.)
Despite of above rulings, I suggest you to take recourse of Domestic Violence Act, which gives more scope as far as territorial jurisdiction is concerned.