In يَا نِسَاءَ النَّبِيِّ, the idafah became definite only after يَا was added.

The Vocative and Definiteness