NO one will detain her on the way out of the US.  HOwever, she will be barred from reentry to the US for a period of 10 years because of her overstay.  If she is only separated and not divorced, she will also not be able to get remarried, anywhere else, unless and until she is legally divorced.