Unless you are family or on a very familiar level with a friend, it is uncommon to touch any part of someone’s body when speaking to them regardless of the sex.
Female friends will sometimes hold hands or lock arms, but this is at a deeper friendship level.