How long a spray-in bedliner takes to dry depends entirely on the formula. The manufacturers of the product should provide that information on the packaging.
Aromatic bedliners dry very quickly. Meanwhile, aliphatic formulas can take upwards of 24 hours to fully cure.