Unfortunately, some things we just can’t control. :( However, the reality is, even if your father does get laid off, sometimes they will give him time to find a new job. Being laid off as opposed to getting fired also means there is severance package ($$) so the individual doesn’t suffer too much while they are finding a new job. So what I’m trying to explain is, there is time. Perhaps enough time for you to even finish school.
However, if your father does have to move, there are other options for you. If you have a close relative that lives nearby, maybe you can make an arrangement to stay with them until you finish school. After all, you only have only two years left, and from what I recall those two years are crucial to getting into college. So that’s something you can use to discuss with your parents.
If there are no other options, moving is not the end of the world. It’s always difficult to end things abruptly, but nowadays we have technology to make keeping in touch easier. Always try to look at the up-side of things: (1) it’s always great to meet new people and make new friends (2) it doesn’t mean you’re going to lose you’re old ones (3) you get a clean slate. But hey, maybe your father might find a job close to home. You may not be in the same school district, but you’ll be around. It’s good to prepare, but try not too worry about things you can’t control too much. Best wishes :)