Judging from foreign weddings, married or divorced people can't be bridesmaids, because weddings are sacred, and only those who have never been married can bring good luck to the couple.
However, not all places have this custom and tradition, so now when a couple gets married, they can ask if there is such a rule at home. If not, it doesn't matter. You can find your best girlfriend as a bridesmaid.