Maryland is an at-will employment state and you can be terminated at any time for any reason that is not protected by law (ie age, race, religion) or unless you had an employment contract or CBA to the contrary. It's just like you could have quit your job at any time for any reason w/o a contract to the contrary.
File for UI - it will be up to the state whether you receive it or not.

