well, yes and no. you can select any random slice as long as the beginning and end samples are multiples of the sampling rate. The reason is that edf are stored in blocks where each block contains the data for all channels over a sampling period.