In general, location matters for tuition costs because there can be differences in pricing for residents and non-residents of public and private universities. Some degree programs may not be available to residents of certain states. Most online programs give students the flexibility to study from wherever they please, but non-residents may have to pay more in tuition.