I know some bands who have recorded in abandoned buildings before. But be careful when scouting for such locations. Most likely such places are private properties. Being there already is trespassing. The only way I can think of for you to be able to stay put 2-3 months is to actually rent it for the period you are using it.. and that is a huge chunk of budget.
Other factors to consider before embarking on that idea:
- external sounds that can spoil your recording eg traffic
- room acoustics
- technical set up (as oppose to a studio, where everything is already set up and build to get optimum recording, you are gonne have to do things from scratch)
- amenities eg toilet, kitchen, bedroom, electricity, nearby provision shop
Of course there is the issue of self-discipline of the band. If the purpose of going to such a place is really for the novelty of recording, then go there with that mindset. Anything else will be a distraction, and ultimately unproductive of the band's time and money.