Unemployment doesnt care about all your past absences just the one that got you fired.
My husband said that if you get fired, you can collect unemployment. Hope this helps, you might have a labor board case here if you had a doctors note too. Good luck to you.