The story
From deuce, "two year sentence," with less as a shortening of the phrase "two years less a day."
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: A sentence of two years less a day (entitling the offender to serve the sentence in a provincial institution, rather than a federal penitentiary as for sentences of two years or more). Full definition →
From deuce, "two year sentence," with less as a shortening of the phrase "two years less a day."
Etymology from Wiktionary, CC BY-SA 4.0.