text: you can try, but as they can't give a negative reference, all they have to say is that they are unable to give a reference for you. As has been said they could say that you resigned after x years, but left before working out your notice, both are just as good as giving a bad reference.