It used to be a thing, but at this point there are very few states with criminal defamation laws on the books.
Here is Virginia's
"§ 18.2-417. Slander and libel.
Any person who shall falsely utter and speak, or falsely write and publish, of and concerning any female of chaste character, any words derogatory of such female's character for virtue and chastity, or imputing to such female acts not virtuous and chaste, or who shall falsely utter and speak, or falsely write and publish, of and concerning another person, any words which from their usual construction and common acceptation are construed as insults and tend to violence and breach of the peace or shall use grossly insulting language to any female of good character or reputation, shall be guilty of a Class 3 misdemeanor."
So don't be throwing around the 'ho word about your ex-girlfriend!
In what circumstances is it a crime to defame someone, and not merely a cause of action in a civil suit?