Green’s Dictionary of Slang

dream n.2

[? one can do it in one’s sleep]

(Aus.) a six-month prison sentence.

[Aus]Sydney Sl. Dict. 9/2: Black Bess lumbered Mother Shooter to the Nick yesterday. She got a dream for chovy bouncing. The prison van took Mother Shooter to Darlinghurst jail yesterday. She got six months for shoplifting.
(con. 1890s) W. Ings ‘A Convenient Exchange’ in Public Space 3 2: It won’t be a dream, I reckon he’ll be up for a two stretch.