No court in Alabama has jurisdiction over custody of your child--only Alaska is your child's "home state" and and such the only state that can decide custody issues. He could get the divorce from you in Alabama once he established residency there, but they have no jurisdiction over custody whatsoever.
Look at the pleadings---copy the whoever vs. whoever part and file a "Response" saying that the Motion should be denied based on the fact that Alaska is the child's home state because the child lives there and has lived there for at least the past 6 months and therefore Alaska is the only state that has jurisdiction.
And since he's moved to Alabama be sure to ask for SOLE custody now.
EDIT--since your edit--you need to go get your child and do whatever you have to do to raise her. Don't let his parents get custody (they have certain rights). Get a full time job, go to school part time--or go back in a few years--that's what I did. I didn't finish school until I was 29 b/c I had a baby to take care of--but the point is---I did it. So can you--but right now, put your child first--she has to come before your education at this point. You can get an education anytime, but you only get to lose your daughter once and she's lost forever.
EDIT--YES! Go get her unless there is some file marked order from the Court placing the child with his parents. I don't suggest you disobey a court order--but if there is no OFFICAL court Order--you still have all custody rights and you need to use them. Who gives a **** what the next judge thinks? Do you have the same judge for your divorce that you do for your Order of Protection? (I hope not). Does your school have a law school? If so, they might have a legal clinic that can help you. If not, call legal services. You are not entitled to an attorney since this is not a criminal case, but legal services might can help or call someone recently out of law school--they are probably hungry (meaning they won't put your case on the back burner) and might work out a payment plan with you.
If an attorney accepts a retainer and does no work you might have several actions. First, you have an obvious breach of contract, second there exists a tort in negligence and potentially an intentional or gross recklessness tort.
An attorney contract absolving the counsel from any or all of these potential actions is contrary to public policy, likely a product of unfair unequal bargaining (adhesion contract) and likely contrary to State Bar rules. So your answer is NO!
About the greatest limitation on right to bring suit would be to require Arbitration to resolve any breach of the attorney-client relationship.
This will be upheld nearly universally.