No, this "re-marriage" is not legal. Since this man was still married to your sister, the second "marriage" is considered to be null and void in the eyes of the law. He is still your sister's husband, no matter how long they have been separated.