I am non EU married to EU citizen (Polish + Naturalised Irish ) Since 2009 holds stamp 4EUfam. We found out couple of weeks ago that we are expecting a baby in our family..

We both have full time jobs and my wife is exercising her EU Treaty right since December 2004.
Now my question is since she wants to go to Poland in 4 months time and she will stay there for 10 months. She would still be employed by the way but I don't know how does it work.
Do I lose my right of residence the day she leave the country or if she is out 6 months. In October I will go to Poland for 2 months and stay with her.
I can also apply for Irish citizenship I think because she is Irish also but spouse of Irish citizen takes too long to process so I didn't apply and I am waiting to finish 5 years residence before I apply.
I am sorry for writing too much I just want to make sure how long she can stay out of Ireland before I lose my right of residence.
Thanks again
Regards,