If I moved to another state for a summer internship and stayed at a hotel for 3 months, can I add this to taxes as rent payment?

I stayed in California in an Extended Stay America hotel for 3 months as if it were an apartment