After completing Chapter 8's B-side, you can collect the Golden Berries in any chapter by doing the entire chapter without dying once.