As it is all a woman has to do is say she feels threatened to get a temporary order of protection without any proof in a divorce. Getting a permanent one can be a touch more difficult but it is not that difficult....basically what others have said; unless its an amicable divorce you are going to lose your 2A rights.
What court is going to allow someone to get their firearms back; even with both parties signing on? If that person who they just gave their guns back to goes on to kill a bunch of people it would be a huge liability for the courts...so basically you lose your rights and they stay lost.
I can't see this passing muster in the supreme court; the problem is it will take years to get there if it is passed.