Can I take the standard deduction for federal and itemize maryland state for 2018?

Can I take the standard deduction for federal and itemize Maryland state for 2018?  It appears that it will more advantageous overall if I take the standard federal deduction but itemize my Maryland state return.