Can you claim milage deductions when commuting out of town for business purposes?

Can I write off miles for traveling between my hotel and the grocery store?  I know normally you can't write off miles when commuting, but what if I am living out of town for my business?