Most lawyers that I have met , won't give legal AND tax advice ...

Unless you have a separation agreement in place ( which I don't think you do)...

Then it is left to each of you to agree (gasp !) on who claims who...

If you are only claiming two children, then it may be best to agree for each of you to claim one, each year ????