Dear Mr Mohammed Khaisuddin,
Since both of you are Muslims, you are governed by Mohammedan Law or Shariat. No need for you to obtain divorce through Court of Law. You follow what has been followed traditionally. Don't bother about your wife's status, once she is divorced as per Shariat, she her options will be restricted. Just because she is a class I officer or magistrate or judicial officer, law will not change of her.
As per Shariat, once she is divorced, she will have no share in your property. She can claim maintenance only during the period of idat and not beyond that. The recent judgement, the Honourable Supreme Court has ruled that status and earning of women needs to be taken into consideration while allowing maintenance application.
You are liable to maintain the child as per the Shariat, if son till he reaches adhulhood and if a daughter till she is married. If the child is a boy, you can get his custody on his completion of 7 years of age.
If you think the marriage is not sustainable with all efforts in that direction, you have to option to divorce your wife as per Shariat. Immediately, thereafter, you obtain an anticipatory bail.
I suggest, you consult an advocate who is well versed on Mohammdean Law and Criminal practice.
Good Luck.
A W K MECCI, Bangalore.