It really depends on things like how long it was and the Canadian equivalent of the DUI. There are some rules that if it's the only issue and a certain time has passed then your spouse would be deen rehabilated and you can apply as normal. Otherwise you will need to apply for rehabilation for your spouse. That is a long process but yes you can apply for PR, it is just that it becomes a bit more complicated. Regardless you need to be truthful with IRCC because if they find out then that will be considered misrepresentation.