Yes. If the deceased dependent was a qualifying child or relative during the year, then claiming a deceased child on your return is allowed.
You must meet all of the dependency requirements. However, a child who died during the year is usually treated as having lived with you for more than half of the year. This is true if he or she lived with you for more than half of the time he or she was alive during the year.