"Phụ nữ" is a more general and neutral word, indicating all women who are single or married.
"Đàn bà" is more often used to indicate middle-aged or older women, usually married. If it is used to indicate a young woman, then it emphatically implies that she has got married.