In 2018 I was in school from January to May (4 months) and then graduated, are my parents able to claim me as a dependent?

I was 22 years old when I graduated in May 2018, then turned 23 years old,  December 19th.