A robe is either short for 'bathrobe' which is a loose fitting garment that looks like a coat but is often made from absorbent fabric (toweling or just cotton) and is worn before or after bathing or it refers to a dressing gown which is a garment worn over night clothes when not in bed .
In your sentence, and as Brian said, Judy probably put on her 'robe' to go to the bathroom and put it back up on a hook before returning to bed.