Ambridge residents who've been to prison:
Helen (on remand only)
Matt
Susan
Freddie
Clive Horrobin, several times
Assorted other Horrobins, ditto
Prosecuted for something, or had a near miss:
David, for killing a badger
Tom and Kirsty, for trashing a field of GM crops
Tom, taking the blame for Helen knocking Mike over when drunk
Brian, re environmental disaster (I've forgotten where we are with that)
Ed, a long time ago, for taking Will's car without permission and crashing it, smashing Emma's leg up in the process - he had to go on a Thinking Skills course, IIRC
Eddie, in the matter of selling contaminated meat - can't remember if that got to court
Jill, protesting outside the new restaurant? Bit hazy on this one
Simon Pemberton, for assaulting Debbie and Shula
Owen the chef from LL, for Kathy's rape
Wayne, for selling drugs at Loxfest
Tom Forrest, for shooting Clarrie's uncle Ned Larkin when he was caught poaching, but he was found Not Guilty (back in the 50s)
My hero Nelson Gabriel was well known to the police in his youth and suspected of involvement in the Borchester Train Robbery, but not charged as far as I know. There was that odd incident after he died when the garden at Honeysuckle Cottage was dug up in the dead of night and it was suspected somebody had come looking for the lost loot from the raid.
And that's before we even get started on the Case of the Stolen Bunting ...
Anyone else?