For some context, Wikipedia says:
> In the United States, depending on the context, the term "welfare" ... can also include social insurance programs such as unemployment insurance, Social Security, and Medicare.
https://en.wikipedia.org/wiki/Welfare_spending#United_States
But in any case, Medicare is literally denied to prisoners, which is an example of ... denying welfare benefits for antisocial behavior?
Of course whenever you have taxpayers paying for something for individuals, those taxpayers may properly decide to exclude undeserving individuals from receiving benefits.
What would be controversial is classifying people as undeserving for past actions that
(1) were and are completely legal,
(2) are not even considered to be bad by a large fraction of the country, and
(3) have nothing whatsoever to do with what they are being excluded from.