A historical / literary term. Used in writing about slavery, antiquity, or in fiction — not modern social vocabulary. The neutral "slave" is
奴隶 (núlì);
女奴 specifies female.
女奴 also appears as the title of the famous 1976 Brazilian telenovela Escrava Isaura, hugely popular in 1980s China.