What you're referring to is called "squatting" and it's ILLEGAL. It doesn't matter if the house is abandoned. SOMEONE or some thing owns it. Whether it's a deceased person (in that case it belongs to their estate), or a bank that foreclosed on someone's house. It's not yours until you buy it from whoever the current owner is, and get the deed put in your name.