yes, 単位 is credits that is a unit that you earn when you successfully finished an educational course at university, college etc.
So the speaker of that sentence should be a college student, and says
"It says if you don't turn in your paper by the 31st, you'll lose some points/scores. So if I don't hand it in, I cannot earn the credit! (I'll fail the course)."