Not unless he was selling it to his fellow students. That would seriously raise the criminality, if so. Still speculation, of course. Maybe he just smoked it at home earlier and forgot to empty his pocket.
Exactly my point.
Residue is something you find in a pipe or on the floor of your car if you’re too sloppy to vacuum it out.
The baggie implies a much greater amount.