It depends on what is meant by canning. If the plan is to stock fresh, shelf-stable, sealed, and preserved salsa, then, of course, cooking is not necessary. However, for storing canned homemade salsa, for instance, sterilization like cooking is a must to make it last longer.