To have direct deposit does my name need to be on the account?

Does your name have to be on the account for direct deposit?