The more full-bodied the wine (red or white), the longer it will last. Anything light, elegant and delicate like a Pinot Noir are hardly worth keeping as they deteriorate so fast. Drink them in one go.
You can keep a medium- to full-bodied white, such as an oak-aged Chardonnay or Semillon, for 2 to 3 days in the fridge before the wine totally oxidises. A medium to full-bodied red for can be kept for a maximum of four days.
leftover left-over
Boxed wines will last a month after you open it because most boxed wines contain a vacuum-sealed bag, which prevents the oxidation that spoils bottled wine a few days after opening.