If I move out of the house before he does (it's for sale) how long can I be gone and not be subject to abandonment of the home?

Also, can we just go to the court house and file for divorce ourselves? We have agreed on everything thus far.