The answer really depends on what your goals are. Ideally, yes, strength training is excellent and helps you retain muscle that may be lost during weight loss. It improves your appearance and makes you feel awesome!
In the short term, you need to be prepared that starting a strength training program will most likely temporarily increase your weight. This is caused primarily by water retention when your muscles are sore. Secondly, be prepared that you will have sore muscles and that is normal and actually a good thing
. Take at least a day off between muscle groups and do plenty of stretching and drinking water (this will help).
Some people don't like to lift weights or they become discouraged when they see scale gains or feel sore. If that is going to prevent you from exercising at all, than by all means stick to cardio. All exercise is going to build muscle to some extent.