A Boston defense attorney once named as one of People magazine’s most eligible bachelors has been charged with raping two women, prosecutors said.