Is it worth transferring your home to your spouse?

It is very common for people to transfer assets to a spouse (or family trust) before embarking on a ‘risky’ activity. For example, before going into business, becoming a partner in a professional services firm, or undertaking a development. But is this really effective?