This quote is about the prominence of divorce and the difficulty of maintaining relationships in Hollywood, especially between celebrities. It means that if a marriage in Hollywood survives (lasts longer than) a carton of milk – considered a short amount of time – it is considered successful. The quote implies that so many marriages end in divorce in Hollywood that even the relatively short-lived ones are considered successful.