Yes. Rigor mortis results from ATP breakdown after death. Larger animals have more ATP, so rigor mortis sets in later and lasts longer. For example, it appears in humans within 2–4 hours and lasts about a day, while in cows and horses it may take up to 12 hours to begin and last several days.
Temperature, humidity, and cause of death also influence timing.