When my 5 month old daughter got her heart transplant, my manager at Salesforce essentially said, "be with your family, call us when things settle down." I'd only been there for 3 months. I took 3 weeks to get her home from the hospital, set up our new routine, and mentally reset. Didn't get a single work-related Slack, text, or call during that time.
Might have just been a great manager, but I think the overall culture was a big factor too. Not sure if that's ever really something you can pick up on during the hiring process, though.