Sentence:  While he was in <WSD>custody</WSD> his wife divorced him . 
Meaning of the word marked with <WSD> tags:  a state of being confined (usually for a short time)