401K early withdrawl

My husband was laid off in March of 2024 and had a qualifying 401K with the company he was with. In May 2024 we took an early withdrawl in excess of 18K in order to meet expenses while he was laid off, I am a stay at home mom and did not work for income. 

If I turned 60 at the time of the withdrawl even though the 401K is in my husbands name would we qualify for an exemption for the early withdrawl? My husband turned 55 in April.