Yes they can but it simplifies things if they are taken at the same temp and exposure. You can then just subtract a master dark frm your images with no fiddling.
Many programs have an algorithm to divide the darks by the appropriate amount to adjust for the diffenrence in exposure time. Iris and CCDSoft are both examples that do this.