It is useful to define these separately since connectivity and configuration information is different between systems. This allows you to easily deploy a project into a new environment because you only need to redefine the External Resource without having to edit application code.