Thank you for trusting your question to JA today. I am a licensed attorney with over a decade of law practice and over 20 years of experience in the legal field. I’m happy to be of assistance.
The chances of being able to be a police officer are very reduced here. Either you'll maintain the AWOL on record or you'll go back and have an administrative separation (most likely) on record. Both are not good to have for a police officer career, but the administrative discharge is better and it would give you some closure.
You should go to the nearest base and turn yourself in to the trial defense counsel. Only speak to that attorney. This is because you don't want to make ANY statement to anyone. If you go into the MP's and say "I'm AWOL and need to turn myself in" that's an admission. A statement to a defense counsel though is not.
Chances are that you'll then be separated through an administrative discharge, perhaps an Other than Honorable. This is the most common result. I won't lie to you here though. There is the off chance that they would court martial you. This is not common, because it is a great deal of work, but legally you are subject to the UCMJ and can be charged criminally. If that happens, you'll get an attorney to defend you and you can perhaps limit the damage by pleading down to a special court martial, so it won't be a felony.
If you have any further questions, please let me know. I invite follow up questions, so use REPLY for those. If you have no further questions then good luck going forward and please do not forget to rate my service with a top-three rating so that I receive credit for working with you today. Also, feel free to request me in the future, if you have questions concerning a different matter.