Traditionally, a felony is defined as an offense punishable by longer than one year imprisonment. The Constitution guarantees a right to a jury trial for all offenses punishable by more than six months in prison.
Except DUI. That disappeared a long time ago.