I understand that you seek the right time between being too early and too late. I recommend packing your hospital bag between weeks 32 and 34.
Week 32 is the best time since you can see the date drawing close, so you can buy everything you would need. It is also a perfect time since it is common for mothers to go on labor two weeks early. So if this happens, you will be all prepared for the arrival of your little one.