what would happen if you had a craft that could maintain its position,just above the earth,while the earth is spinning on its axis.would this craft survive would it be in the same location it went up in 24 hours
A geosynchronous orbit is an orbit around the Earth with an orbital period matching the Earth's sidereal rotation period.
A Geostationary orbit is a special case of the geosynchronous orbit which is circular (or nearly circular) and at zero (or nearly zero) inclination, that is, directly above the equator.
But both of these conditions assume that the object is in orbit
The condition you seem to be describing sounds like any object which is not orbiting. Any object which is not in orbit would require continuous trust to counteract gravity.
The only other way to do it would be to insert the object into a Lagrange Point, of which there are the five positions in an orbital configuration where a small object affected only by gravity can theoretically be stationary relative to two