The battery enclosure will dictate if the battery can be installed in an external location. Generally as much protection to any equipment as possible from the environment is a good idea however there are many batteries that have enclosures rated for installation outside.