There are NO specific educational requirements to be a supreme court justice and that includes a law degree!
For example, Chief Justice Earl Warren did not have a law degree.