#1 is correct.
Use the hyphens when the phrase is used to decribe a noun, but not generally after the verb. She attends school part time. (no hyphen). She is a part-time student.
The other style "rule" (and I use the quotations, because this is a style, not a grammar issue, and there are...