When attending an on line class and tax return requests school city, do I add the company city or my residence city to the tax form

Can I add my residence city when tax form requests for a school city if I am attending online courses?