Can I take the home office deduction if I work at home remotely for a company that does have its own office in another city? I am hired as a full-time remote employee.

If I were to move to the city that their office is in, I would be allowed to work in the office, however, the company's office is 3 hours from where I live.