Employee takes a job in another location for six months....... by definition "temporary" correct?

So what's deductible while living there? Travel to the location I understand but how about the cost of an apartment for six months? ..... a per diem for meals ?? ...... any mileage while living there (seems like that would be...