Using the same name as a cousins kid?

We have found a name we both really like, but my husbands cousin has a 6 year old with the same name. They are a close family, but she lives in a different country and we rarely she her.

Would you say it was frowned upon to use the same name?