If it's an option for you I'd say definitely do it.
I'm just about to return to work after a year off taken from when my little girl turned one and my wife had to return from maternity leave (uk).
Because of my set up as an independent contractor I had to quit my role and find another one afterwards, this has taken longer than I had planned due to a period of show hiring in my industry. But as roles have come available I've started being pulled into interviews pretty frequently - might I have missed out on some that I would have had a chance with if I hadn't taken the time out? Probably, but then those aren't the people I want to work with so call it a good screening tool! In not one of the interviews I've had has any one made any sort of negative comment about my decision to take time off. I've had older men get a wistful look in their eye and say if only they could have done the same, and working moms seeming pretty impressed that I took the plunge and have a shared understanding.
I'm about to start back and it will have set my fire back by maybe 10 months, but nothing more than than that as we were able to continue saving albeit at a lower rate from just my wife's salary. What you have to bear in mind though is that time is not fungible - a day in a prison camp does not have the same value as a day on a tropical island. And a year with my girl so young is irreplaceable, so well worth the trade even if it means a year less of freedom down the line. As a side benefit I've got to learn a lot about what my experience of fire will be like from this preview and learnt important things about myself in the process.
Tl;Dr - do it, no regrets. If you can keep your job open that's even easier and to me it's a no brainer.