That's true. Unemployed people and students, both of whom have more free time, relatively speaking, are more likely to riot than working people are.
It's mainly the disenfranchised in a society who riot. Their rioting is a response to their feelings of powerlessness, as much as to anything else.