If no punishment for a crime is provided by statute, the court shall impose such sentence, according to the nature of the crime, as conforms to the common usage and practice in the commonwealth. If a person is convicted of a misdemeanor punishable by imprisonment, he may, unless otherwise expressly provided, be sentenced to imprisonment either in the jail or in the house of correction.
Mass. Gen. Laws ch. 279, § 5