Yes, if by that do you mean a judge or prosecutor will take that into consideration at sentencing. However, for purposes of being a subsequent offender under any enhanced sentencing penalties, or for actions by the MVA in connection with suspension or revocation of your driving privileges, then there are arguments against out of state convictions being used in this way. Also, an out of state DUI conviction will not necessarily automatically disqualify you from receiving a "probation before judgment" if the charge in MD is your first here.