I have a temp job (9 months) in another state, and have rented an apartment to stay in during the week. Can I take the rent off fed taxes as an expense?

I have a temp job (9 months) in another state, and have rented an apartment to stay in during the week.  Can I take the rent off fed taxes as an expense?