Green’s Dictionary of Slang

earth n.1

also eerht, eerth, erth
[backsl.]

[mid-19C+] three; thus earth/erth sis noms, a three-month prison term.