There are two incorrect assumptions in your questions. If you are referring to the OS bit depth that has no impact on audio quality. Also Sonar can read and write 32 and 64 bit wave files. No audio interface can play those bit depths back or record them. They are limited to 24 bits.
If you started a project in a 32 bit version of Sonar and then load it in a 64 bit version it will be the same. No difference.
There is more to it but these are the basics.