If she was a very close friend then I, personally, would change the name we'd picked (very begrudgingly - names are hard!) because I'd feel a bit funny about having the same names.

But go with how you feel, if you absolutely love the name and can't imagine another one for your bub, then go for it!

Hopefully you will both have different gender bubs and it won't be an issue