Yes a bank can refuse to cash the check for you even if the check is drawn from there own bank if you don't have a checking or savings account with them with sufficient funds.
There's no federal or other law that requires any bank to cash any checks if they don't want too.