Yes, but the difficulty varies with the state. At some schools, it's almost assumed that 2nd year students will be classified as residents, while at other schools it's almost impossible to establish residency.
For the tough states, you need to show that you plan to establish your permanent domicile in the state. Having a job offer in hand after the first summer is a good step.
How about buying a house and getting a state driver's license?