What does legally separated mean ?

What is the difference between divorced and legally separated ?