Hardship withdrawal from 401k / exception

I had to do a Hardship withdrawal to prevent eviction they took out some for taxes, do I qualify for an exception?