There are multiple definitions - click on the translation that matches your context.

privación de libertad

full

custody

noun

Comparative law notes

Spain

in

Definitions of custody

English

(CRIMINAL LAW) the state of being sent to prison or kept in a police cell, especially while waiting to go to court for trial (aka penal custody)

A 22-year-old man has been arrested and is in police custody.

English

(FAMILY LAW) the legal right or duty to care for a thing or a person, especially a child after its parents have separated or died

Elian's great-uncle fought unsuccessfully to keep the child in Miami during a dramatic custody battle.