That is a complicated question. If the school is not accredited when you graduate it is the same as graduating from a non-ABA school. The same is true if the school becomes ABA after you graduate. The ABA status is not retoactive to past grads. Assuming that you are in a state that will allow you to graduate from an non-ABA school and sit for the bar, then you would be in the same boat as any other non-ABA grad. You will have to practice in that state and do your time until you can sit somewhere else.
If you graduate from a non-ABA school and the state bar doesn't let non-ABA grads sit for the bar then you have a very expensive piece of framed parchment.
Hypothetically, you could enroll at school X in a state like Mississippi, where only ABA grads can sit for the bar. Matriculate in fall 2004, they lose ABA approval in Fall 2006, you graduate Spring 2007. You would be out of luck.
Let's say the same thing happened to Samford/Cumberland in Alabama. That is not going to happen. But for the sake of example let's say it did. Alabama, currently allows three non-ABA schools to sit for the bar. They probably would do the same thing for Cumberland. Those grads would do the same as my classmates at BSOL. Sit for the Alabama bar exam and likely spend their entire career in Alabama.
Long answer. I hope it helped.