It is not necessary, but won't hurt either. The first thing setup.php does is check to see if a configuration file exists. If it does it immediately exits.