i'm absent yesterday is correct or i was absent yesterday is correct
I was
Welcome, navin.
Additionally, "I'm" is short for "I am". The verb "am" is in the present tense, and its past tense form is "was" (as tdol has shown, above).
Examples
[1] I am absent today. <present tense>
[2] I was absent yesterday.<past tense>