Standard deduction for first year in US

I moved to US in February 2019 and spent rest of the year working here. I am single. Can I file the tax as a resident? Am I allowed to use standard deduction?