What are your goals?
If you are trying to build muscle then take as long as you feel you need. Obviously if you are doing heavy squats you are going to need longer rest period between sets, sometimes up to 3-5 mins to get your breathe back If doing arm curls then a shorter break is needed, mayne only 30 secs-1 min.