Can you collect unemployment from a new job after being fired for missing a day to attend a family members funeral?

I believe so, and that is very unfair