A former nurse assigned to nursing and rehabilitation facilities throughout Massachusetts was sentenced to prison for tampering with morphine.