HUCA. It isn't an illegal connection. As long as you take the last flight out from SNA to overnight it is a valid connection. I've done it numerous times to connect to a single-day international flight.
That being said, being this is a schedule change may open up some different idiosyncrasies. But I have done it several times.