New Job - part time

I am a student and I am taking a part time remote job.

My question: the job is remote.  I am a resident of New York but I go to school in PA.

Which state do I put on my W2 form?   Can I put NY only and pay taxes in NY only?
I plan to deduct 30% of my rent/utilities as business expenses.  As the apartment is in PA... can I still claim those expenses if I file in New York only?

Thank you.