Is the Tax transfer for residents of Quebec mandatory?

 I read the transfer is an option, but I've been trying to compare my tax return $ with other softwares and they automatically consider you have to transfer them the 45%, so Do I have to put the 45% of my income tax earned outside of Quebec in box 438 or not?

And what If only lived in the area of Quebec for only one month? (including December 31st)


Thanks